diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /app-misc/getopt | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'app-misc/getopt')
-rw-r--r-- | app-misc/getopt/Manifest | 1 | ||||
-rw-r--r-- | app-misc/getopt/getopt-1.1.6.ebuild | 64 |
2 files changed, 0 insertions, 65 deletions
diff --git a/app-misc/getopt/Manifest b/app-misc/getopt/Manifest index bfdc972de63e..6af04a0178c6 100644 --- a/app-misc/getopt/Manifest +++ b/app-misc/getopt/Manifest @@ -4,5 +4,4 @@ AUX getopt-1.1.5-setlocale.patch 323 BLAKE2B ee68f23549c402bdb91cd4475ee0b1d30d8 AUX getopt-1.1.6-longrename.patch 3013 BLAKE2B 608ad737eaad184436a321797b5099bbe5a1436e812a40a2ee30aa7b80e86f360e9e3c18629ae96e5edd6d0090a74758b99699833052dee2db7e76bd055f2659 SHA512 7157f9bd2bc660519972898bd24f0f04f01196a54c44a3a3ba4b0fda0acfb9b13cabba7cfbd1e784e9f5b3c94f2955325f47933e5d6affcb1a0f740d933206b9 DIST getopt-1.1.6.tar.gz 58926 BLAKE2B 839b9c1701c21425cbc6b68ab245eb693e0e575a0673f62e3cca8f6932485c1124f42710c0ebeb3c157ab89e56e02b251a99aca7a12723735c63f33443003007 SHA512 aa5476e729f33ddd3f32f38b2565da319fdfe034f11549218d5d9953e70dad764e0d9a82bb10efe4043c86ae87f944619b8a2f29a197f592bd855699961d8e10 EBUILD getopt-1.1.6-r1.ebuild 1703 BLAKE2B fcde4e5494a8e99142c21b69aa9bf51c7a84b565c8736fd24d08b0c93f767e95bd4fde2afcc3e9575f8dc4596f861c1f2c7d9e53dd3f08379ee4261b988d03a0 SHA512 c803517a3a5bce8533caeb700e4bb8735284a74360ab8b71f7c208942b97f8535651f415a7012aa6ba2aa9ac20fa4248d783b1765fc947be292c0521e09b14e6 -EBUILD getopt-1.1.6.ebuild 1797 BLAKE2B fba23dd1ef5b1e8975b095c381084f9e75909761b2a427ad5011a8c279f7614793d8dd1a57e479e25389a3e8c656e3517fe78782adfab1b4426441c46589fb59 SHA512 8456c0cf506f6917aa3f1e2b494a52fa28d611dd1a15c2aa7a0cd120fb727d21cd0b7a795495fd862ff3ac6697f3db3346c9fb57d5b4af2468e8eb407b8a618a MISC metadata.xml 243 BLAKE2B d650658b3e248940751d20c9e517a011a34f8d99df54d5203162d67c21df384f507e44ed0c848c1adc99fae8d511e204129f2709f5bdc5d1b2c8e41120bbe6db SHA512 8489be9ea6eac385511b0d193b1b61fad9c8e0d4cb86fd711e6faf04e66b2c935ae64ce6ce0a044d036e76de6787e5d440d67f831e89261a71e74b645a0999d9 diff --git a/app-misc/getopt/getopt-1.1.6.ebuild b/app-misc/getopt/getopt-1.1.6.ebuild deleted file mode 100644 index e153893915a5..000000000000 --- a/app-misc/getopt/getopt-1.1.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit toolchain-funcs eutils - -DESCRIPTION="getopt(1) replacement supporting GNU-style long options" -HOMEPAGE="http://frodo.looijaard.name/project/getopt/" -SRC_URI="http://frodo.looijaard.name/system/files/software/getopt/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~ppc-aix ~x64-cygwin ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls" - -RDEPEND="nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.1.5-libintl.patch - epatch "${FILESDIR}"/${PN}-1.1.5-setlocale.patch - epatch "${FILESDIR}"/${PN}-1.1.6-longrename.patch - - # hopefully this is portable enough - epatch "${FILESDIR}"/${PN}-1.1.4-irix.patch -} - -src_compile() { - local nogettext="1" - local libintl="" - local libcgetopt=1 - - if use nls; then - nogettext=0 - has_version sys-libs/glibc || libintl="-lintl" - fi - - [[ ${CHOST} == *-aix* ]] && libcgetopt=0 - [[ ${CHOST} == *-irix* ]] && libcgetopt=0 - [[ ${CHOST} == *-interix* ]] && libcgetopt=0 - - emake CC="$(tc-getCC)" prefix="${EPREFIX}/usr" \ - LIBCGETOPT=${libcgetopt} \ - WITHOUT_GETTEXT=${nogettext} LIBINTL=${libintl} \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_install() { - use nls && emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install_po - - newbin getopt getopt-long - - # at least on interix, the system getopt is ... broken... - # util-linux, which would provide the getopt binary, does not build & - # install on interix/prefix, so, this has to provide it. - [[ ${CHOST} == *-interix* || ${CHOST} == *-mint* ]] && \ - dosym getopt-long /usr/bin/getopt - - newman getopt.1 getopt-long.1 - - dodoc getopt-*sh -} |