app-containers/dnsname: Drop copy'n'pasted IUSE=encryption

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2023-06-01 23:36:06 +02:00
parent ac1306edb9
commit c976bab35f
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 2 additions and 6 deletions

View File

@ -22,9 +22,9 @@ SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/${P}-deps.tar.xz"
KEYWORDS="~amd64" KEYWORDS="~amd64"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
IUSE="+encryption" IUSE=""
DEPEND="encryption? ( dev-libs/olm )" DEPEND=""
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND=""
DOCS=( DOCS=(
@ -44,7 +44,6 @@ src_compile() {
-mod=vendor -v -work -x -mod=vendor -v -work -x
) )
use encryption || export CGO_ENABLED=0
go build "${mygobuildargs[@]}" "${EGO_PN}/plugins/meta/dnsname" \ go build "${mygobuildargs[@]}" "${EGO_PN}/plugins/meta/dnsname" \
|| die "go build failed" || die "go build failed"
} }

View File

@ -8,7 +8,4 @@
<email>holgersson@posteo.de</email> <email>holgersson@posteo.de</email>
<name>Nils Freydank</name> <name>Nils Freydank</name>
</maintainer> </maintainer>
<use>
<flag name="encryption">Enable encryption using <pkg>dev-libs/olm</pkg></flag>
</use>
</pkgmetadata> </pkgmetadata>