diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-06-14 11:43:02 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-06-14 11:43:10 +0200 |
commit | 90d6be5780dcb28ab46f054272015e13d9af44e7 (patch) | |
tree | 03b089ad3dc04b3aadfacda645bb30555bd1038a /dev-util/pkgconfig | |
parent | sys-fs/exfat-utils: Removed old. (diff) | |
download | gentoo-90d6be5780dcb28ab46f054272015e13d9af44e7.tar.gz gentoo-90d6be5780dcb28ab46f054272015e13d9af44e7.tar.bz2 gentoo-90d6be5780dcb28ab46f054272015e13d9af44e7.zip |
dev-util/pkgconfig: add missing dep on virtual/libintl and add necessary workarounds for Solaris
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util/pkgconfig')
-rw-r--r-- | dev-util/pkgconfig/pkgconfig-0.29.1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild index a17e4be03381..73f18e584aa1 100644 --- a/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild +++ b/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild @@ -31,7 +31,8 @@ IUSE="elibc_FreeBSD elibc_glibc hardened internal-glib" RDEPEND="!internal-glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] ) !dev-util/pkgconf[pkg-config] !dev-util/pkg-config-lite - !dev-util/pkgconfig-openbsd[pkg-config]" + !dev-util/pkgconfig-openbsd[pkg-config] + virtual/libintl" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} @@ -67,6 +68,12 @@ multilib_src_configure() { # not good, esp. since Carbon should be deprecated [[ ${CHOST} == *-darwin* ]] && \ append-ldflags -framework CoreFoundation -framework Carbon + if [[ ${CHOST} == *-solaris* ]] ; then + # required due to __EXTENSIONS__ + append-cppflags -DENABLE_NLS + # similar to Darwin + append-ldflags -lintl + fi fi else if ! has_version dev-util/pkgconfig; then |