diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-10-13 11:12:10 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-10-13 11:12:29 +0200 |
commit | b1d04c1f018b2fb04c761a03d16f64bdfb45f6d0 (patch) | |
tree | 8884b98dd5915933804a8ee25b4e98b5881f2fec | |
parent | media-libs/openjpeg: stable 2.3.0 for ppc/ppc64, bug #629668 (diff) | |
download | gentoo-b1d04c1f018b2fb04c761a03d16f64bdfb45f6d0.tar.gz gentoo-b1d04c1f018b2fb04c761a03d16f64bdfb45f6d0.tar.bz2 gentoo-b1d04c1f018b2fb04c761a03d16f64bdfb45f6d0.zip |
dev-libs/libiconv: add Prefix support
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r-- | dev-libs/libiconv/libiconv-1.15.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libiconv/libiconv-1.15.ebuild b/dev-libs/libiconv/libiconv-1.15.ebuild index 1707033d72b9..5b0db6586609 100644 --- a/dev-libs/libiconv/libiconv-1.15.ebuild +++ b/dev-libs/libiconv/libiconv-1.15.ebuild @@ -11,8 +11,8 @@ SRC_URI="mirror://gnu/libiconv/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="static-libs" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="prefix static-libs" DEPEND="!sys-libs/glibc !userland_GNU? ( !sys-apps/man-pages )" @@ -28,6 +28,12 @@ src_prepare() { } multilib_src_configure() { + if use prefix ; then + # In Prefix we want to have the same header declaration on every + # platform, so make configure find that it should do + # "const char * *inbuf" + export am_cv_func_iconv=no + fi # Disable NLS support because that creates a circular dependency # between libiconv and gettext ECONF_SOURCE="${S}" \ |