diff options
-rw-r--r-- | app-admin/su-exec/su-exec-0.2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-admin/su-exec/su-exec-0.2.ebuild b/app-admin/su-exec/su-exec-0.2.ebuild index 4a1e1f1eab69..f51e2f258af4 100644 --- a/app-admin/su-exec/su-exec-0.2.ebuild +++ b/app-admin/su-exec/su-exec-0.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ncopa/su-exec/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="static" src_prepare() { default @@ -20,10 +20,10 @@ src_prepare() { } src_compile() { - CC=$(tc-getCC) emake + CC=$(tc-getCC) emake $(usex static "${PN}-static" "") } src_install() { - dobin ${PN} + newbin ${PN}$(usex static "-static" "") ${PN} dodoc README.md } |