summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-02-06 21:11:15 +0100
committerFabian Groffen <grobian@gentoo.org>2017-02-06 21:11:37 +0100
commit1530e49713c22420b965e2e2df7600a1fd8943c7 (patch)
tree9b2c588315a38818ce590c75bc2a7f90b217288c /dev-libs/libassuan
parentapp-text/xindy: [QA] Fix SRC_URI. (diff)
downloadgentoo-1530e49713c22420b965e2e2df7600a1fd8943c7.tar.gz
gentoo-1530e49713c22420b965e2e2df7600a1fd8943c7.tar.bz2
gentoo-1530e49713c22420b965e2e2df7600a1fd8943c7.zip
dev-libs/libassuan: fix configure standards conflict on Solaris
Package-Manager: Portage-2.3.2-prefix, Repoman-2.3.1
Diffstat (limited to 'dev-libs/libassuan')
-rw-r--r--dev-libs/libassuan/libassuan-2.4.3-r1.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild
index 5056ccf653ca..ab46bc220746 100644
--- a/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild
+++ b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild
@@ -25,6 +25,15 @@ src_prepare() {
# for Solaris .so
elibtoolize
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # fix standards conflict
+ sed -i \
+ -e '/_XOPEN_SOURCE/s/500/600/' \
+ -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \
+ -e 's/__EXTENSIONS__/_NO&/' \
+ configure || die
+ fi
}
src_configure() {