summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-10-16 13:57:52 +0200
committerMichał Górny <mgorny@gentoo.org>2015-10-16 13:57:52 +0200
commitc94ae3bd74961d2b70e8bb984aa7a7fe3c3a11dc (patch)
tree75f1eaf9643d8cd1ab9b5cd31c862f7f422cc60f /net-libs/miniupnpc
parentnet-libs/miniupnpc-1.9.20151008: reduce SONAME (diff)
downloadgentoo-c94ae3bd74961d2b70e8bb984aa7a7fe3c3a11dc.tar.gz
gentoo-c94ae3bd74961d2b70e8bb984aa7a7fe3c3a11dc.tar.bz2
gentoo-c94ae3bd74961d2b70e8bb984aa7a7fe3c3a11dc.zip
net-libs/miniupnpc: Improve usex use
Package-Manager: portage-2.2.23
Diffstat (limited to 'net-libs/miniupnpc')
-rw-r--r--net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild
index 7cc7e66c31c9..5377731776a7 100644
--- a/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild
+++ b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild
@@ -40,11 +40,11 @@ src_prepare() {
src_compile() {
tc-export CC AR
- emake upnpc-shared $(use static-libs && echo upnpc-static)
+ emake upnpc-shared $(usex static-libs upnpc-static '')
}
src_test() {
- emake -j1 HAVE_IPV6=$(usex ipv6 yes no) check
+ emake -j1 HAVE_IPV6=$(usex ipv6) check
}
src_install() {