diff options
Diffstat (limited to 'dev-util/pkgconfig')
-rw-r--r-- | dev-util/pkgconfig/pkgconfig-0.29.1.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild index 73f18e584aa1..2db724952dee 100644 --- a/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild +++ b/dev-util/pkgconfig/pkgconfig-0.29.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -49,6 +49,14 @@ src_prepare() { else elibtoolize # Required for FreeMiNT wrt #333429 fi + + if [[ ${CHOST} == *-solaris* ]] ; then + # fix standards conflicts + sed -i -e 's/\(_XOPEN_SOURCE\(_EXTENDED\)\?\|__EXTENSIONS__\)/ \1_DISABLED/' \ + glib/configure || die + sed -i -e '/#define\s\+_POSIX_SOURCE/d' \ + glib/glib/giounix.c || die + fi } multilib_src_configure() { |