Skip to content

Commit

Permalink
dev-libs/libassuan: fix configure standards conflict on Solaris
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.2-prefix, Repoman-2.3.1
  • Loading branch information
grobian committed Feb 6, 2017
1 parent c48dc53 commit 1530e49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dev-libs/libassuan/libassuan-2.4.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1530e49

Please sign in to comment.