summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-29 11:41:17 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-29 11:41:17 +0000
commit080a6ad2c3759083c02506e1348b689f2194d4eb (patch)
tree2da02928366195f2ad903d29d5a74355f5f8c804 /dev-util
parent48f3e81fd35a18cd49f8b8d6a041f33ad88f9c89 (diff)
gentoo auto-resync : 29:02:2024 - 11:41:17
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin64770 -> 64771 bytes
-rw-r--r--dev-util/colm/Manifest5
-rw-r--r--dev-util/colm/colm-0.14.7-r1.ebuild62
-rw-r--r--dev-util/colm/colm-0.14.7-r2.ebuild67
-rw-r--r--dev-util/colm/colm-0.14.7-r3.ebuild9
-rw-r--r--dev-util/colm/colm-0.14.7.ebuild62
-rw-r--r--dev-util/ragel/Manifest4
-rw-r--r--dev-util/ragel/ragel-7.0.4-r1.ebuild66
-rw-r--r--dev-util/ragel/ragel-7.0.4-r3.ebuild9
-rw-r--r--dev-util/ragel/ragel-7.0.4.ebuild65
10 files changed, 16 insertions, 333 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 36b5aab26a6d..940714248556 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/colm/Manifest b/dev-util/colm/Manifest
index ea1d17efcbe7..c3611b7ee13c 100644
--- a/dev-util/colm/Manifest
+++ b/dev-util/colm/Manifest
@@ -4,8 +4,5 @@ AUX colm-0.14.7-solaris.patch 659 BLAKE2B f7e8b4781ffc7a63fa63ee83f69e115ea14609
DIST colm-0.13.0.7.tar.gz 746841 BLAKE2B 7f816bafc0d1a7ea826b6cc2f5bd5fa2bffcd0eca88d5eaab757201481804dc5fa6c80fa19a550ebd9ee50a00a621690c4eed1788e0d0d3dd600db95ed8240d3 SHA512 d15cc6afeeacc4f34171261e75a7daa285529b98940272566ca6d6661d0778b18930ca72e0bce8d0a56c36c3482adfe4375c32ec66d6e77ee32544bddf35024d
DIST colm-0.14.7.tar.gz 3110831 BLAKE2B c8be14001e8dc3340f5c55fbf8140b86237ec9462699e417f618cf44c759307eda0ede9f7a9ef897f5b8bc51d1fdf8b7360872a30b4cf07ba8191e405940030c SHA512 a5702cb8202599c75f4f4c1975d02e398f1394826f01b86039bd53a34f3ca250a7250d043a430ce6a383e6ca854fe4c72305891ab98c5f3d0ce54192423b7627
EBUILD colm-0.13.0.7.ebuild 536 BLAKE2B 63e79a820fc90b689337ae2d4bf23c008414f40e2a731322be6585c154bcda1c54ef7445d3df7ef398f92979c6a77bdb144c9e6714bced9799be80b9115baef3 SHA512 a5a414ceb658cf09730b8a2bfb3c5cc99506f998034ee9131c3ee2b7ee29b362a5053f1ff55991336d31685cd65b8f1c2f76f71456ccf51a198596f07782208d
-EBUILD colm-0.14.7-r1.ebuild 1503 BLAKE2B f95c5748f050f0ac7a8b41adf5e3b4a590eddee19c630bc17c4588900ea7e1aea4c5983304ef160f9ff76e091bebcdbe89b8196221928764dd7ede3b5c8cb5ba SHA512 ddc499fea7d5373187485d72b64cff57aff1f440586f3449c5c8817ff60cdf41017a8bc89320b2cc15eec0bcbb98a6aa903638740b2a087f863d36653b7ffdf2
-EBUILD colm-0.14.7-r2.ebuild 1581 BLAKE2B 377242d76cbe1274af3f21b9ccb29a9c2f1288641c301abe4bdceab926fc2b059aad930a36f4334a378e7355471400929a67a0a849d81296a62627e5050dd0c5 SHA512 65c5e21ba9b0810a8db75cf2d95e3407df11c1eaa3104151c45ef39096cc6dd5040fc0c6f56ffde570aef19542941ab66c4d74f4ede5d996fec671f372248a64
-EBUILD colm-0.14.7-r3.ebuild 1717 BLAKE2B ee2df2706c9d25e3d4cdfd991e96c07618b23ef3f4f2401421c72ed1c89ef3ab6b6e406222f233504e10c2b5d74dab743063369e2d93b7dc115582478d0d160e SHA512 f9ff7c523a1aa38a7aabaff613a97d86b4d980a5d54a99a244f3a4be6ab5f10472f31a22b848a096e3cee9960456cc355c2be84ba6629e071f24a4d571fa2c0c
-EBUILD colm-0.14.7.ebuild 1337 BLAKE2B e1d3a148fde56949359e273b2b03388848915224cc403d2f4b2845eb69dd7a6cbb6916d54d15877d8acae2bf9c746d84cb16938ea77b638dc4cf116894f2ced9 SHA512 f2f214e362323bbce9f8b497a07c3b2f5440d997023538853276f8167aeac56c466d026950603a8ac54ed13d9f1516c6edf8308376b303e44ca550f422b33293
+EBUILD colm-0.14.7-r3.ebuild 1874 BLAKE2B 35de4db73c5a63b34f0b6080cf0e3d003806617fb9f134e664fd74043402b8387965e4246823f3c38f281f3154656f5411473234f6f17c5897d1e12b9a768fa0 SHA512 1b4a33193b5db6bc332193ae214b4fb42147d814a38a5689789b1c03d0a37640ed48c6e802ddf6ee53d857715923ec06d65d2713d03f944760f21f57d3ca46e6
MISC metadata.xml 253 BLAKE2B a2ab0ef0490c566ca6997a4cf9cb3b5e92449a989cfb7c71a653e6f06c8eeb1945cb81155e315051f91369dcb5ed689eb9f31b4cee0afc479ae4c61d95335833 SHA512 ed9c676e9a7622619fc74ff3cdc943e7ea4203f230043200fe3aa1836b776952ffd2c34160c93ed5156b500ffc538ac0582a201322b5577f29df625224a69ed7
diff --git a/dev-util/colm/colm-0.14.7-r1.ebuild b/dev-util/colm/colm-0.14.7-r1.ebuild
deleted file mode 100644
index cebc2bf2ea2f..000000000000
--- a/dev-util/colm/colm-0.14.7-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="COmputer Language Manipulation"
-HOMEPAGE="https://www.colm.net/open-source/colm/"
-SRC_URI="https://www.colm.net/files/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc"
-
-BDEPEND="
- doc? (
- || ( app-text/asciidoc dev-ruby/asciidoctor )
- dev-python/pygments
- )
-"
-# libfsm moved from ragel -> colm, bug #766108
-RDEPEND="!<dev-util/ragel-7.0.3"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch
- "${FILESDIR}"/${PN}-0.14.7-disable-static-lib.patch
- "${FILESDIR}"/${PN}-0.14.7-solaris.patch
-)
-
-src_prepare() {
- default
-
- # bug #733426
- sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
-
- # bug #766069
- sed -i -e "s:gcc:$(tc-getCC) ${CFLAGS}:" src/main.cc || die
- sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die
- sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || die
-
- # fix linkage on Darwin from colm itself during build
- if [[ ${CHOST} == *-darwin* ]] ; then
- sed -i -e 's/libcolm\.so/libcolm.dylib/' src/main.cc || die
- fi
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable doc manual)
-}
-
-src_test() {
- # Build tests
- default
-
- # Run them
- cd test || die
- ./runtests || die
-}
diff --git a/dev-util/colm/colm-0.14.7-r2.ebuild b/dev-util/colm/colm-0.14.7-r2.ebuild
deleted file mode 100644
index 229accae747c..000000000000
--- a/dev-util/colm/colm-0.14.7-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="COmputer Language Manipulation"
-HOMEPAGE="https://www.colm.net/open-source/colm/"
-SRC_URI="https://www.colm.net/files/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc"
-
-BDEPEND="
- doc? (
- || ( app-text/asciidoc dev-ruby/asciidoctor )
- dev-python/pygments
- )
-"
-# libfsm moved from ragel -> colm, bug #766108
-RDEPEND="!<dev-util/ragel-7.0.3"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch
- "${FILESDIR}"/${PN}-0.14.7-disable-static-lib.patch
- "${FILESDIR}"/${PN}-0.14.7-solaris.patch
-)
-
-src_prepare() {
- default
-
- # bug #733426
- sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
-
- # bug #766069
- sed -i -e "s|gcc|$(tc-getCC) ${CFLAGS}|" src/main.cc || die
- sed -i -e "s|gcc|$(tc-getCC)|" test/colm.d/gentests.sh || die
- sed -i -e "s|g++|$(tc-getCXX)|" test/colm.d/gentests.sh || die
-
- # fix linkage on Darwin from colm itself during build
- if [[ ${CHOST} == *-darwin* ]] ; then
- sed -i -e 's/libcolm\.so/libcolm.dylib/' src/main.cc || die
- fi
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable doc manual)
-}
-
-src_test() {
- # Build tests
- default
-
- # Run them
- cd test || die
- ./runtests || die
-}
-
-src_install() {
- default
- find "${ED}" -type f -name '*.la' -delete || die
-}
diff --git a/dev-util/colm/colm-0.14.7-r3.ebuild b/dev-util/colm/colm-0.14.7-r3.ebuild
index 434617e07dbd..852300e4e897 100644
--- a/dev-util/colm/colm-0.14.7-r3.ebuild
+++ b/dev-util/colm/colm-0.14.7-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="COmputer Language Manipulation"
HOMEPAGE="https://www.colm.net/open-source/colm/"
@@ -51,6 +51,11 @@ src_prepare() {
}
src_configure() {
+ # We need to be careful with both ragel and colm.
+ # See bug #858341, bug #883993 bug #924163.
+ filter-lto
+ append-flags -fno-strict-aliasing
+
econf $(use_enable doc manual)
}
diff --git a/dev-util/colm/colm-0.14.7.ebuild b/dev-util/colm/colm-0.14.7.ebuild
deleted file mode 100644
index 352487813ce5..000000000000
--- a/dev-util/colm/colm-0.14.7.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="COmputer Language Manipulation"
-HOMEPAGE="https://www.colm.net/open-source/colm/"
-SRC_URI="https://www.colm.net/files/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc"
-
-BDEPEND="
- doc? (
- || ( app-text/asciidoc dev-ruby/asciidoctor )
- dev-python/pygments
- )
-"
-# libfsm moved from ragel -> colm, bug #766108
-RDEPEND="!<dev-util/ragel-7.0.3"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch
-)
-
-src_prepare() {
- default
-
- # bug #733426
- sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
-
- # bug #766069
- sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die
- sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || die
-
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable doc manual)
-}
-
-src_test() {
- # Build tests
- default
-
- # Run them
- cd test || die
- ./runtests || die
-}
-
-src_install() {
- default
-
- # NOTE: dev-util/ragel needs the static libraries
- # and .la files, unfortunately.
- # (May have better luck if we use the CMake port?)
-}
diff --git a/dev-util/ragel/Manifest b/dev-util/ragel/Manifest
index 2c3fd2dff91f..c5a3ce83f98a 100644
--- a/dev-util/ragel/Manifest
+++ b/dev-util/ragel/Manifest
@@ -6,8 +6,6 @@ DIST ragel-7.0.0.12.tar.gz 1543127 BLAKE2B c3024c55eb5397f78159da83e318923529d3c
DIST ragel-7.0.4.tar.gz 1656687 BLAKE2B d96444f6b8dc356b9effa6c5032952ffb2526833f90fcb63c7f6c293a73a70ba057995426ba789d237c61dee5e3aa1ab53ec3193bd31c9c4b994193910219d13 SHA512 effa7021f5ce854ab9d2346c6cd8105ad6cbcbbbf59023c9cc704dc9720969221c9eb1e2c776063fcb6375900d457183f63892505615a878fc52c0f238f6921c
EBUILD ragel-6.10.ebuild 806 BLAKE2B 4ae6940e77e31c1138865526016284ebc46eac20ed13b5ce0cc0aefb172aa00bec2167be6c15935771c9e38b975d00f162fa4038023cbdcaa06431aac42195b7 SHA512 fcdfc926252384856cf7b8dcc7ed573273c14c9ae2f787b61d3fb764ffa12a2927bda6c5f42a790927d8e79e2fc9acfd59c7fe1ff23cfb852f5e3b914a6ab531
EBUILD ragel-7.0.0.12.ebuild 772 BLAKE2B 97dc91562f31eefe83292cef36885fa5562039e16e866b3456d5f4ff603d456fdc66423f809e02e0414ba9e14b60bb89173301b060352f9f02c161344463882d SHA512 ee3579c12527cabd3bbb25be5b3968fe88d0d7f6351cbdaeae50626ed689d6f8e4bb207090c3504f54f2da28bf2e4c399f816295fa20e518d6f7f8046d9f9ac3
-EBUILD ragel-7.0.4-r1.ebuild 1513 BLAKE2B 9e320220f920e3bfb3ee0a20ddb4691a33409822a209709af69d2a355fee036a7cf45dd9b7d503c04c1de1f0da96e0fa6b51150dfc4f292d24119c9cdabc5a5f SHA512 c97827ddaf1b23d5a236e295b6325354623421d261034aee7a8d6adc7d635f264ca0c9c9ed0695c93f2514d0016baaefc5c3ad9f2941fab954db39e7945d322b
EBUILD ragel-7.0.4-r2.ebuild 1587 BLAKE2B 8a7c010db96fd3a397bfb0274f4775149480ee803fd84da161611864674104b22316fad607d22d7be509f57765fe57795c88d010fefcaffead2bf2c07d2966aa SHA512 55d2630e89cb5e2bea0f9f85a8a2cafade44b9caff7e50acec7ff35e30abacebeb8310b5739321ef677ebc23992bdc08ccaeb41eee4950eac5a12f2d57cce082
-EBUILD ragel-7.0.4-r3.ebuild 1605 BLAKE2B 360c1ebf1052c161880954a5d116e6d6f8319bbaabae08dfd8f38d363849fd07e2eaa22816fa673a9e58f007926167dd4ed49a208fec3d79551dd87b12324756 SHA512 1ab8b80d4ecf727fa396e20f07e5e14d4529eb46f889da376a324b9e5454c61de9f516b47c7459f04d00ba32acb4c5925a31397ed5065a1129eff10c660db9b5
-EBUILD ragel-7.0.4.ebuild 1509 BLAKE2B 5d794e6d621df74b906bf713d2dcc73f30f7f0ed92ec22155e3e9871294f703b1bd11d65ab4703c7dcbb15f20fbb9819c5a23115e1ac612cc6546501db14073d SHA512 87917e425cf5b43f533aea6626fcb0174232146b167abd9f7ea2473eb6d8c1d1df3f0a974e883e41e2a84767a5f57c22cbe610a524c1aba37d8f3bc77b6f19d8
+EBUILD ragel-7.0.4-r3.ebuild 1762 BLAKE2B 1e5e848727b0752cddb4bc3b5a7786dd4e33626b4745659aba9d8209b6298cf05954cb2d4151c8c49b2e0ebed30d8b81018985a7d05082c62e6bad215c01973e SHA512 577af062c918b19e76cd1fe8bee6c5b4726c27884988c2962c9219e05d31537e69255b3b9bb830ca947a12abb1de04057814f0e3a250fc9c9ed2f9b0e2b43a53
MISC metadata.xml 305 BLAKE2B 47362779057e51875e2327cb9e1e71db670cf09828b9750ab1558c4160f1938250c3b61b6c9383584c559c276966bdcb5297c0df963e80873cecce749ea886ba SHA512 71acd92aed56e6b79b31d6bb889fbb3586fb9ff9ce4d2fa0c2f3ae68be9ea2cdd865c7adbd4757c3ae4d5ef462f3cf470bf52b696c7133a5f57da69014a4c897
diff --git a/dev-util/ragel/ragel-7.0.4-r1.ebuild b/dev-util/ragel/ragel-7.0.4-r1.ebuild
deleted file mode 100644
index e3842b3d827d..000000000000
--- a/dev-util/ragel/ragel-7.0.4-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Compiles finite state machines from regular languages into executable code"
-HOMEPAGE="https://www.colm.net/open-source/ragel/"
-SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="doc"
-
-# Notes from bug #766090
-# dev-libs/libxml2's xmllint ends up being called by asciidoc here
-# app-text/dblatex too
-# app-text/ghostscript-gpl too
-BDEPEND="
- doc? (
- || ( app-text/asciidoc dev-ruby/asciidoctor )
- app-text/dblatex
- app-text/ghostscript-gpl
- dev-libs/libxml2
- dev-texlive/texlive-latex
- dev-python/pygments
- media-gfx/transfig
- )
-"
-DEPEND=">=dev-util/colm-0.14.7-r1"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch
- "${FILESDIR}"/${PN}-7.0.4-link-colm-properly.patch
-)
-
-src_prepare() {
- default
-
- # Fix hardcoded search dir
- sed -i -e "s:\$withval/lib:\$withval/$(get_libdir):" configure.ac || die
-
- # Allow either asciidoctor or asciidoc
- # bug #733426
- sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-colm="${EPREFIX}/usr" \
- $(use_enable doc manual)
-}
-
-src_install() {
- default
-
- insinto /usr/share/vim/vimfiles/syntax
- doins ragel.vim
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-util/ragel/ragel-7.0.4-r3.ebuild b/dev-util/ragel/ragel-7.0.4-r3.ebuild
index 4f1a3096a21c..7de8c2fa21d1 100644
--- a/dev-util/ragel/ragel-7.0.4-r3.ebuild
+++ b/dev-util/ragel/ragel-7.0.4-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Compiles finite state machines from regular languages into executable code"
HOMEPAGE="https://www.colm.net/open-source/ragel/"
@@ -51,6 +51,11 @@ src_prepare() {
}
src_configure() {
+ # We need to be careful with both ragel and colm.
+ # See bug #858341, bug #883993 bug #924163.
+ filter-lto
+ append-flags -fno-strict-aliasing
+
econf \
--with-colm="${EPREFIX}/usr" \
$(use_enable doc manual)
diff --git a/dev-util/ragel/ragel-7.0.4.ebuild b/dev-util/ragel/ragel-7.0.4.ebuild
deleted file mode 100644
index 00d0e8a15df2..000000000000
--- a/dev-util/ragel/ragel-7.0.4.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Compiles finite state machines from regular languages into executable code"
-HOMEPAGE="https://www.colm.net/open-source/ragel/"
-SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc"
-
-# Notes from bug #766090
-# dev-libs/libxml2's xmllint ends up being called by asciidoc here
-# app-text/dblatex too
-# app-text/ghostscript-gpl too
-BDEPEND="
- doc? (
- || ( app-text/asciidoc dev-ruby/asciidoctor )
- app-text/dblatex
- app-text/ghostscript-gpl
- dev-libs/libxml2
- dev-texlive/texlive-latex
- dev-python/pygments
- media-gfx/transfig
- )
-"
-DEPEND="~dev-util/colm-0.14.7"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch
-)
-
-src_prepare() {
- default
-
- # Fix hardcoded search dir
- sed -i -e "s:\$withval/lib:\$withval/$(get_libdir):" configure.ac || die
-
- # Allow either asciidoctor or asciidoc
- # bug #733426
- sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-colm="${EPREFIX}/usr" \
- $(use_enable doc manual)
-}
-
-src_install() {
- default
-
- insinto /usr/share/vim/vimfiles/syntax
- doins ragel.vim
-
- find "${ED}" -name '*.la' -delete || die
-}