diff options
author | Markus Duft <mduft@gentoo.org> | 2010-03-08 10:46:13 +0000 |
---|---|---|
committer | Markus Duft <mduft@gentoo.org> | 2010-03-08 10:46:13 +0000 |
commit | 7517485714149e167de24828ec885fb1d2d7a13d (patch) | |
tree | c8937d8b579ac6f350e9ddf71d4b30cb14c400b2 /app-misc | |
parent | Fix building with libpng14. (diff) | |
download | gentoo-2-7517485714149e167de24828ec885fb1d2d7a13d.tar.gz gentoo-2-7517485714149e167de24828ec885fb1d2d7a13d.tar.bz2 gentoo-2-7517485714149e167de24828ec885fb1d2d7a13d.zip |
install as getopt on interix to work around broken system
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/getopt/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/getopt/getopt-1.1.4.ebuild | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/app-misc/getopt/ChangeLog b/app-misc/getopt/ChangeLog index fc9e9750fe6e..9b4fa205adc2 100644 --- a/app-misc/getopt/ChangeLog +++ b/app-misc/getopt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/getopt # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v 1.4 2010/02/24 09:17:16 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v 1.5 2010/03/08 10:46:13 mduft Exp $ + + 08 Mar 2010; Markus Duft <mduft@gentoo.org> getopt-1.1.4.ebuild: + on interix, use this as getopt too, not only getopt-long. this resolves + various xml/catalog problems 24 Feb 2010; Christian Faulhammer <fauli@gentoo.org> getopt-1.1.4.ebuild: mark ~x86-freebsd diff --git a/app-misc/getopt/getopt-1.1.4.ebuild b/app-misc/getopt/getopt-1.1.4.ebuild index e4816a09a10a..b81769422822 100644 --- a/app-misc/getopt/getopt-1.1.4.ebuild +++ b/app-misc/getopt/getopt-1.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/getopt-1.1.4.ebuild,v 1.4 2010/02/24 09:17:16 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/getopt-1.1.4.ebuild,v 1.5 2010/03/08 10:46:13 mduft Exp $ EAPI=3 @@ -51,6 +51,13 @@ src_install() { into /usr newbin getopt getopt-long + + # at least on interix, the system getopt is ... broken... + # util-linx, 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 "${S}/getopt-"*sh |