diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-02-01 10:05:36 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-02-01 10:05:44 +0100 |
commit | 01b153d645b1ad62bdfa417b12c8c4d15e55aa0b (patch) | |
tree | c56d06ce51c0840b31367119dbe4ed33ea93fe63 /dev-util/quilt/quilt-9999.ebuild | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-01b153d645b1ad62bdfa417b12c8c4d15e55aa0b.tar.gz gentoo-01b153d645b1ad62bdfa417b12c8c4d15e55aa0b.tar.bz2 gentoo-01b153d645b1ad62bdfa417b12c8c4d15e55aa0b.zip |
dev-util/quilt: add Prefix fixes
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util/quilt/quilt-9999.ebuild')
-rw-r--r-- | dev-util/quilt/quilt-9999.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dev-util/quilt/quilt-9999.ebuild b/dev-util/quilt/quilt-9999.ebuild index bd98e706f7f0..7990a886d546 100644 --- a/dev-util/quilt/quilt-9999.ebuild +++ b/dev-util/quilt/quilt-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,13 +17,15 @@ HOMEPAGE="https://savannah.nongnu.org/projects/quilt" LICENSE="GPL-2" SLOT="0" [[ ${PV} == 9999 ]] || \ -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="graphviz" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris" +IUSE="graphviz elibc_Darwin elibc_SunOS" RDEPEND=" dev-util/diffstat mail-mta/sendmail sys-apps/ed + elibc_Darwin? ( app-misc/getopt ) + elibc_SunOS? ( app-misc/getopt ) >=sys-apps/coreutils-8.5 graphviz? ( media-gfx/graphviz ) " @@ -36,6 +38,13 @@ src_prepare() { rm -rf test/delete.test } +src_configure() { + local myconf="" + [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] && \ + myconf="${myconf} --with-getopt=${EPREFIX}/usr/bin/getopt-long" + econf ${myconf} +} + src_install() { emake BUILD_ROOT="${ED}" install |