summaryrefslogtreecommitdiff
path: root/sys-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-05 03:15:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-05 03:15:29 +0000
commitc75fb751e4fd18ca8d87b0198e91a1976ffb2f2d (patch)
treef5c67b2f37cf625a99a154e470bc5dd76a88dee1 /sys-apps
parent2997df5d95cb64694ec91d50c93407e92c68e2a8 (diff)
gentoo auto-resync : 05:02:2023 - 03:15:29
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/Manifest.gzbin48598 -> 48602 bytes
-rw-r--r--sys-apps/groff/Manifest2
-rw-r--r--sys-apps/groff/groff-1.23.0_rc2.ebuild108
-rw-r--r--sys-apps/texinfo/Manifest5
-rw-r--r--sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch44
-rw-r--r--sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch31
-rw-r--r--sys-apps/texinfo/texinfo-7.0.1-r1.ebuild72
-rw-r--r--sys-apps/texinfo/texinfo-7.0.1.ebuild65
8 files changed, 110 insertions, 217 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz
index 635e99689edb..54092382a760 100644
--- a/sys-apps/Manifest.gz
+++ b/sys-apps/Manifest.gz
Binary files differ
diff --git a/sys-apps/groff/Manifest b/sys-apps/groff/Manifest
index 04a911238758..2eaacc904508 100644
--- a/sys-apps/groff/Manifest
+++ b/sys-apps/groff/Manifest
@@ -1,4 +1,6 @@
AUX groff-1.19.2-man-unicode-dashes.patch 582 BLAKE2B 73e0868465b5372376e5bb5b382f2a4918fb9227208ad001f35ae041af93fda494a9be355e732697d264ec974d6e9528f9f91e0d26b2ecd82a41508222f1e439 SHA512 7d9f88c8bcc1b220c82c214f2f638601e8b44bd3933df03c74a2ef51b555773734c92044a3162bf5815932ddaae08158994a7c5106098de3e9f3bf202975de97
DIST groff-1.22.4.tar.gz 4137480 BLAKE2B cdda8a7e8e42b8d8991656ecfbffe0cd0ed5d8932467cab2f3c1eecb3365f4a5c03321b6ed929d451c3dfb00a46046a781303a1c55c4aa65eb7d178fb36b1cbc SHA512 1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d
+DIST groff-1.23.0.rc2.tar.gz 7330614 BLAKE2B 5f9ffd19a6742fae0162c956e8c736bd5f72df5ef2a53a274957bd6caa40b40d73783acee319ff7bcb12942fae2c420d2f7a267bb0cdcb0bc2527b28cd17f9fd SHA512 dfa3c9fa6a76a6bd1496e9e0e4145b7d694383fd3b339a065b7aa63c9507aea331ef90e1ef98cf3eae81b24cb177ee7a9a8be2c91e30296ffe4da0c68aa3e793
EBUILD groff-1.22.4.ebuild 2795 BLAKE2B d386818667ff0389a6920b172ee42b1a00af2648a38b2616aba72da0102c3979d8c9e38b10ef8d87fb09e77bd3a91fe681f43f618029c65c72ef36d7127e304b SHA512 69188450b4d3a88154a03e7668220f09e330312dfceb87d6905c76a36f143ea2b4cb2fe07021beba4ea450ea8df6ec5119d4e35cfe2e2b04930d14d33d364292
+EBUILD groff-1.23.0_rc2.ebuild 2652 BLAKE2B bc99534cb7172340773fda17ba7c71c402b2da7c153591e856bc998bd22a01ec81a68305e9fbcd199dd3e7f62c3b2dbfa60c44ac04e4475c88dfe884ec610ef0 SHA512 ffa6d7cc41c14f5d25a4d741fcd6374af414a59649052434e0098a17edb482501300c906c4a584d4279e70db5fd89107612fc96f3f4b57b4ba6d27872598a0f8
MISC metadata.xml 514 BLAKE2B 56bd1f6ff4a0082fd0148d0ba9c9fffb13e665f7550661b6625bc7b8589a9ebf1f37957d55ecb379f3e38b820574d068789ec5e8f2e1743e02acfe2f91abea2f SHA512 90796d8d5e32de1c47de855a1cfaad250c47a686f79586af0d79f9a3d2a4c2c64b589ea8f7ffe7f7473a10d9d11ecb43245e54714fcb18bebb73abd1db767d37
diff --git a/sys-apps/groff/groff-1.23.0_rc2.ebuild b/sys-apps/groff/groff-1.23.0_rc2.ebuild
new file mode 100644
index 000000000000..0d90fdb18750
--- /dev/null
+++ b/sys-apps/groff/groff-1.23.0_rc2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="${P/_/.}"
+DESCRIPTION="Text formatter used for man pages"
+HOMEPAGE="https://www.gnu.org/software/groff/groff.html"
+
+if [[ ${PV} == *_rc* ]] ; then
+ SRC_URI="https://alpha.gnu.org/gnu/groff/${MY_P}.tar.gz"
+else
+ SRC_URI="mirror://gnu/groff/${MY_P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples uchardet X"
+
+RDEPEND="
+ uchardet? ( app-i18n/uchardet )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/perl
+ sys-apps/texinfo
+"
+
+DOCS=( BUG-REPORT ChangeLog MORE.STUFF NEWS PROBLEMS PROJECTS README TODO )
+
+PATCHES=(
+ # bug #16108, bug #17580, bug #121502
+ "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch
+)
+
+src_prepare() {
+ default
+
+ # Honor Gentoo's docdir
+ sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX}/usr/share/doc/${PF}\"|g" \
+ Makefile.in \
+ || die "failed to modify Makefile.in"
+
+ local pfx=$(usex prefix ' Prefix' '')
+ cat <<-EOF >> tmac/mdoc.local || die
+ .ds volume-operating-system Gentoo${pfx}
+ .ds operating-system Gentoo${pfx}/${KERNEL}
+ .ds default-operating-system Gentoo${pfx}/${KERNEL}
+ EOF
+
+ # make sure we don't get a crappy `g' nameprefix on UNIX systems with real
+ # troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
+ sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-appdefdir="${EPREFIX}"/usr/share/X11/app-defaults
+ $(use_with uchardet)
+ $(use_with X x)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ local -a CROSS_ARGS
+ tc-is-cross-compiler && CROSS_ARGS+=(
+ GROFFBIN="$(type -P groff)"
+ TROFFBIN="$(type -P troff)"
+ GROFF_BIN_DIR=
+ GROFF_BIN_PATH=
+ )
+
+ emake AR="$(tc-getAR)" "${CROSS_ARGS[@]}"
+}
+
+src_install() {
+ default
+
+ # The following links are required for man, bug #123674
+ dosym eqn /usr/bin/geqn
+ dosym tbl /usr/bin/gtbl
+
+ if ! use examples ; then
+ # The pdf files might not be generated if ghostscript is unavailable, bug #602020
+ local pdf="${ED}/usr/share/doc/${PF}/examples/mom/mom-pdf.pdf"
+ if [[ -e ${pdf} ]] ; then
+ # Keep mom-pdf.pdf since it's more of a manual than an example
+ # bug #454196 and bug #516732
+ mv "${pdf}" "${ED}/usr/share/doc/${PF}/pdf/" || die
+ fi
+ rm -rf "${ED}/usr/share/doc/${PF}/examples"
+ fi
+}
diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest
index 4fd1e4261844..6eedbd54769d 100644
--- a/sys-apps/texinfo/Manifest
+++ b/sys-apps/texinfo/Manifest
@@ -1,12 +1,7 @@
AUX texinfo-6.8-undo-gnulib-nonnul.patch 7627 BLAKE2B d8edefca829682e0bbebfecf1c97fd25874ecf0ec65228643c1a5d54558a22970ec2e6d532d37269fdb8a7359eb02c990b2c221591c8ececa3f17c6642c47516 SHA512 c6a482433af9a44e597ace4e92b6d5faf1c7aa6deaab7e474f4158769c31e4cf203f21d4697e071d29104b6b78ae06f353becc5da6aa1276ae9a3e39506a2af9
-AUX texinfo-7.0.1-info-groff-crash.patch 1668 BLAKE2B 8ef2d58d49dcd2372557f012237b4d8f3b4b6cbbe8a73745409868955458910647943eaf6bce67dbc659c959fdb8885c5f4bc2b9f521d4206a1c2788a0b2acde SHA512 4afded892571f4772b8ba9dcdd0fab9a9de6a119450f4dd6ce9031ca85612f0d5e0b39646da41d595563d9944bcb75872eb2530fc5266f928f171e4e95d6afbc
-AUX texinfo-7.0.1-lto-type-mismatch.patch 1154 BLAKE2B 852f3c217ee856747534410f8776dc7dc206d4bcfd1197cfe4b08a2ecc914710a588b33c54d226f01e8e7b8a4f64397946d11eaa8114197169382a521f574e14 SHA512 6dd8701ebe4065fffdbc63fb2f08baf9918c0716e06740864aa9b43bb0e0731d748471c5e93a6287004b7314e97d17f459220673d72373fd5f70ddc77539ec19
DIST texinfo-6.8.tar.xz 4961528 BLAKE2B 0256dac5ba9c7f171c970644907b763f7a88fd9995111244df0458591aed1a0fe94c76045dde69f9138d65d6f780aae6869bbbc013f58e04ae7c62456b222bbb SHA512 0ff9290b14e4d83e32b889cfa24e6d065f98b2a764daf6b92c6c895fddbb35258398da6257c113220d5a4d886f7b54b09c4b117ca5eacfee6797f9bffde0f909
-DIST texinfo-7.0.1.tar.xz 4890348 BLAKE2B 9d61722e7ff8a71e05770552050cc861d778b9faa95f801e40d4353601a5692f01ad8e794dfb0e7b5b29efa2c701de4a76505732a806b0303b5c1fe0599816f1 SHA512 8e1616341fbbfe0cd90bd1b0452874c75b99d88dffe5f88c53fdc32f00d67c07c15c6c774b241e1f7507f0347314737e533854939c3be6334ca9feb9cd049009
DIST texinfo-7.0.2.tar.xz 4875424 BLAKE2B 23737cc800392c949add14c1d0a01a294e8c224d958c03325c96d6540dcfae49db5c2d4a8c29310c0603f8ac8477f6ee00a14db4aa6caab317b19e776139e617 SHA512 26dd5bb1392f2197ecde296ba157d4533f4b11fadf1238481da4cf2b3796c665ce96049df8d2f9a6d4fa22b7e9013d9978d195e525288663f0a54482bbc22b2b
EBUILD texinfo-6.8.ebuild 1717 BLAKE2B 0ce639bd82dac4bcc580415852c093773954c2f33a811133fcb4ee8361e30935b40ba2796bfe807f848bbebe3acf5985fb549f11dfc6d90dbcb397ab0fc959ea SHA512 017f861563fe14381776c7fb62b79b8a99059e63d0f752a4b8dc71559ba57c6c56307ef751bea42b01c1afd3ebfface75c108be260f920f1a1fc6e3ffd72c40f
-EBUILD texinfo-7.0.1-r1.ebuild 1990 BLAKE2B 873fe91105270820749a7313358bc96a9a63f38d9a95f3fccaf7f3babbbcc5f8908ed5f4d00a9fe24778a0644945f0049480845bf57ed8d15493fa24fe118d85 SHA512 7b7c81df07471d4a84de9151d18a753cd581677495ad445306214d647ef9a0ac05ef56b83387584526706728d0e831f882b38fcf909e3d5ac57ddffa203d0d18
-EBUILD texinfo-7.0.1.ebuild 1787 BLAKE2B e275a3450fe2ce726647a347066e0a7730b4a3fdaa8b931f18c56e6b36b3e847773960eb541349e9b85499c52fba3b80c9d2f1ea8a05790106bde3dafde22e82 SHA512 9cdaf80221be13e539633430915a193532c86ce9d9db8db5c7ba573afffcb6f153dfa922fea0ea5d05aba5919941a04de55cfc8c1377f71f6757d24a5d54e2ab
EBUILD texinfo-7.0.2.ebuild 2199 BLAKE2B fee1baa92960369a505a575d04d42676cb9fd833962c71987785a2192c92816476daa4f02427b79cdf8be755c7e2420460c4188adacdf3c3d1afcc1322e0844d SHA512 c59ea9f01268ba1c3bec0fdb31af6e68764dfdd3a5cd44680523b5fac767874ffae253db19e58be22b50f0c4920842f34fb6e2af03fd3fd831b093a321f6c3ec
EBUILD texinfo-9999.ebuild 2199 BLAKE2B fee1baa92960369a505a575d04d42676cb9fd833962c71987785a2192c92816476daa4f02427b79cdf8be755c7e2420460c4188adacdf3c3d1afcc1322e0844d SHA512 c59ea9f01268ba1c3bec0fdb31af6e68764dfdd3a5cd44680523b5fac767874ffae253db19e58be22b50f0c4920842f34fb6e2af03fd3fd831b093a321f6c3ec
MISC metadata.xml 588 BLAKE2B 4e5549f1b07df4c081d2cc03691f0f8ba13c0f8f86807a7e5e87ea618080895a2714f169e9a1294226e71207ed88586a027092a328ab618f417ae3a74ac2586b SHA512 343c287a2c0c7f7bcbd5a40373c0aebe718d46042947abcb8364fed0aeb6dd7e585e9d226ef5bfb0084074d085510e802faf3a3c08b1489ed35556b6c14d1015
diff --git a/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch b/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch
deleted file mode 100644
index d215ae719ccb..000000000000
--- a/sys-apps/texinfo/files/texinfo-7.0.1-info-groff-crash.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-https://git.savannah.gnu.org/cgit/texinfo.git/commit/?h=release/7.0&id=86185e7cedafd011376d0efb6f7e028231dbf641
-
-From 86185e7cedafd011376d0efb6f7e028231dbf641 Mon Sep 17 00:00:00 2001
-From: Gavin Smith <gavinsmith0123@gmail.com>
-Date: Mon, 12 Dec 2022 18:40:01 +0000
-Subject: =?UTF-8?q?*=20info/util.c=20(text=5Fbuffer=5Ficonv):=20Correctly?=
- =?UTF-8?q?=20update=20arguments=20for=20iconv=20in=20loop.=20=20Crash=20f?=
- =?UTF-8?q?or=20"info=20groff"=20reported=20by=20Jakub=20Wilk=20via=20Hilm?=
- =?UTF-8?q?ar=20Preu=C3=9Fe=20<hille42@web.de>.?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
---- a/info/util.c
-+++ b/info/util.c
-@@ -350,11 +350,11 @@ text_buffer_iconv (struct text_buffer *buf, iconv_t iconv_state,
- size_t iconv_ret;
- size_t extra_alloc = 1;
-
-- outptr = text_buffer_base (buf) + text_buffer_off (buf);
-- out_bytes_left = text_buffer_space_left (buf);
--
- while (1)
- {
-+ outptr = text_buffer_base (buf) + text_buffer_off (buf);
-+ out_bytes_left = text_buffer_space_left (buf);
-+
- iconv_ret = iconv (iconv_state, inbuf, inbytesleft,
- &outptr, &out_bytes_left);
- if (iconv_ret != (size_t) -1)
-@@ -362,10 +362,7 @@ text_buffer_iconv (struct text_buffer *buf, iconv_t iconv_state,
-
- /* If we ran out of space, allocate more and try again. */
- if (errno == E2BIG)
-- {
-- text_buffer_alloc (buf, (extra_alloc *= 4));
-- out_bytes_left = text_buffer_space_left (buf);
-- }
-+ text_buffer_alloc (buf, (extra_alloc *= 4));
- else
- break; /* let calling code deal with it */
- }
---
-cgit v1.1
diff --git a/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch b/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch
deleted file mode 100644
index a8906195480e..000000000000
--- a/sys-apps/texinfo/files/texinfo-7.0.1-lto-type-mismatch.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://git.savannah.gnu.org/cgit/texinfo.git/patch/?id=952b333db85f88fb51c7e051b15063d95cf7dfc8
-https://lists.gnu.org/archive/html/bug-texinfo/2022-12/msg00034.html
-https://bugs.gentoo.org/863713
-
-From 952b333db85f88fb51c7e051b15063d95cf7dfc8 Mon Sep 17 00:00:00 2001
-From: Gavin Smith <gavinsmith0123@gmail.com>
-Date: Sat, 10 Dec 2022 01:10:38 +0000
-Subject: =?UTF-8?q?*=20install-info/install-info.c=20(error):=20Declare=20?=
- =?UTF-8?q?as=20static=20to=20avoid=20clash=20with=20error=20function=20fr?=
- =?UTF-8?q?om=20glibc,=20called=20from=20gnulib.=20Report=20from=20Sam=20J?=
- =?UTF-8?q?ames=20<sam@gentoo.org>=20and=20suggested=20solution=20from=20A?=
- =?UTF-8?q?rsen=20Arsenovi=C4=87=20<arsen@aarsen.me>.?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
---- a/install-info/install-info.c
-+++ b/install-info/install-info.c
-@@ -214,7 +214,9 @@ vdiag (const char *fmt, const char *diagtype, va_list ap)
- putc ('\n', stderr);
- }
-
--void
-+/* declare as static to avoid clash with glibc error function, called from
-+ gnulib. */
-+static void
- error (const char *fmt, ...)
- {
- va_list ap;
---
-cgit v1.1
diff --git a/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild b/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild
deleted file mode 100644
index 924c8a3d1a00..000000000000
--- a/sys-apps/texinfo/texinfo-7.0.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Note: if your package uses the texi2dvi utility, it must depend on the
-# virtual/texi2dvi package to pull in all the right deps. The tool is not
-# usable out-of-the-box because it requires the large tex packages.
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="The GNU info program and utilities"
-HOMEPAGE="https://www.gnu.org/software/texinfo/"
-
-if [[ $(ver_cut 3) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="nls +standalone static"
-
-RDEPEND="
- !=app-text/tetex-2*
- >=sys-libs/ncurses-5.2-r2:=
- virtual/perl-Data-Dumper
- virtual/perl-Encode
- standalone? ( >=dev-lang/perl-5.8.1 )
- !standalone? ( >=dev-lang/perl-5.8.1:= )
- nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- nls? ( >=sys-devel/gettext-0.19.6 )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-lto-type-mismatch.patch
- "${FILESDIR}"/${P}-info-groff-crash.patch
-)
-
-src_prepare() {
- default
-
- # Drop after 7.0.1 (patch touches install-info which causes regeneration)
- touch man/install-info.1 || die
-
- if use prefix ; then
- sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die
- touch {doc,man}/{texi2dvi,texi2pdf,pdftexi2dvi}.1 || die
- fi
-}
-
-src_configure() {
- # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions
- # bug #622576
- local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}"
- local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}"
-
- use static && append-ldflags -static
-
- local myeconfargs=(
- --cache-file="${S}"/config.cache
- $(use_enable nls)
- $(use_enable !standalone perl-xs)
- )
-
- econf "${myeconfargs[@]}"
-}
diff --git a/sys-apps/texinfo/texinfo-7.0.1.ebuild b/sys-apps/texinfo/texinfo-7.0.1.ebuild
deleted file mode 100644
index 05ce4eb6f6dd..000000000000
--- a/sys-apps/texinfo/texinfo-7.0.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Note: if your package uses the texi2dvi utility, it must depend on the
-# virtual/texi2dvi package to pull in all the right deps. The tool is not
-# usable out-of-the-box because it requires the large tex packages.
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="The GNU info program and utilities"
-HOMEPAGE="https://www.gnu.org/software/texinfo/"
-
-if [[ $(ver_cut 3) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
-else
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="nls +standalone static"
-
-RDEPEND="
- !=app-text/tetex-2*
- >=sys-libs/ncurses-5.2-r2:=
- virtual/perl-Data-Dumper
- virtual/perl-Encode
- standalone? ( >=dev-lang/perl-5.8.1 )
- !standalone? ( >=dev-lang/perl-5.8.1:= )
- nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-apps/help2man
- nls? ( >=sys-devel/gettext-0.19.6 )
-"
-
-src_prepare() {
- default
-
- if use prefix ; then
- sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die
- touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1
- fi
-}
-
-src_configure() {
- # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions
- # bug #622576
- local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}"
- local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}"
-
- use static && append-ldflags -static
-
- local myeconfargs=(
- --cache-file="${S}"/config.cache
- $(use_enable nls)
- $(use_enable !standalone perl-xs)
- )
-
- econf "${myeconfargs[@]}"
-}