summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-06-12 14:54:57 +0200
committerFabian Groffen <grobian@gentoo.org>2017-06-12 14:55:18 +0200
commit74d2c9ab4b1eb0bacc01999f5d8f2222cf4ed70c (patch)
treeaa16e0d9cb332dce933753b1843e101acc4a704e /sys-process/lsof
parentdev-util/bcpp: x86 stable wrt bug #621578 (diff)
downloadgentoo-74d2c9ab4b1eb0bacc01999f5d8f2222cf4ed70c.tar.gz
gentoo-74d2c9ab4b1eb0bacc01999f5d8f2222cf4ed70c.tar.bz2
gentoo-74d2c9ab4b1eb0bacc01999f5d8f2222cf4ed70c.zip
sys-process/lsof: add Solaris tweak
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'sys-process/lsof')
-rw-r--r--sys-process/lsof/lsof-4.89-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-process/lsof/lsof-4.89-r1.ebuild b/sys-process/lsof/lsof-4.89-r1.ebuild
index 7e00a5a8852e..0fc565391989 100644
--- a/sys-process/lsof/lsof-4.89-r1.ebuild
+++ b/sys-process/lsof/lsof-4.89-r1.ebuild
@@ -61,6 +61,7 @@ src_configure() {
append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || echo "-DHASNOTRPC -DHASNORPC_H")
append-cppflags $(usex ipv6 -{D,U}HASIPv6)
+ [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
$(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"