summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {