From 72de413f2e9a540219c14049ef4c1dd9664705ed Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Sun, 22 Dec 2019 21:36:37 -0600 Subject: [PATCH] nsss: use arch= instead of XBPS_TARGET_MACHINE Also remove -DNSSS_DISABLE_SWITCH -DNSSS_DISABLE_UNIX that was accidently added, for testing purpose Signed-off-by: Nathan Owens --- srcpkgs/nsss/template | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template index a46079d158b..fd72ce202aa 100644 --- a/srcpkgs/nsss/template +++ b/srcpkgs/nsss/template @@ -1,12 +1,13 @@ # Template file for 'nsss' pkgname=nsss version=0.0.2.1 -revision=1 +revision=2 +# Only available for musl +archs="*-musl" build_style=configure configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib - --bindir=/usr/bin --dynlibdir=/usr/lib -DNSSS_DISABLE_SWITCH - -DNSSS_DISABLE_UNIX" + --bindir=/usr/bin --dynlibdir=/usr/lib" makedepends="skalibs-devel" short_desc="Minimal competing implementation of glibc's Name Switch Service" maintainer="Orphaned " @@ -16,11 +17,6 @@ changelog="https://skarnet.org/software/nsss/upgrade.html" distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz" checksum=5d756a934bdae8a5be8d04d1b23bb7c95f3c5a814877b3771664739108a13fab -case "$XBPS_TARGET_MACHINE" in - *-musl) ;; - *) broken="Only available on musl" ;; -esac - post_install() { vlicense COPYING vdoc README