summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-28 12:22:17 +0100
committerSam James <sam@gentoo.org>2023-05-29 19:18:43 +0100
commit994fa6e66a7f9db7a61f0e6d066bacb2de88c1ed (patch)
tree40d37d02aa4b62567c6ad0f14fbda6e71ec0c901 /app-misc/getopt
parentapp-editors/shed: drop dead prefix targets (diff)
downloadgentoo-994fa6e66a7f9db7a61f0e6d066bacb2de88c1ed.tar.gz
gentoo-994fa6e66a7f9db7a61f0e6d066bacb2de88c1ed.tar.bz2
gentoo-994fa6e66a7f9db7a61f0e6d066bacb2de88c1ed.zip
app-misc/getopt: drop dead prefix targets
The removal was already done, so this is just cleanup afterwards. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/getopt')
-rw-r--r--app-misc/getopt/getopt-1.1.6-r1.ebuild10
1 files changed, 0 insertions, 10 deletions
diff --git a/app-misc/getopt/getopt-1.1.6-r1.ebuild b/app-misc/getopt/getopt-1.1.6-r1.ebuild
index 323a24f24d20..b5d1d2b68d0c 100644
--- a/app-misc/getopt/getopt-1.1.6-r1.ebuild
+++ b/app-misc/getopt/getopt-1.1.6-r1.ebuild
@@ -35,10 +35,6 @@ src_compile() {
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} \
@@ -50,12 +46,6 @@ src_install() {
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* ]] && \
- dosym getopt-long /usr/bin/getopt
-
newman getopt.1 getopt-long.1
dodoc getopt-*sh