diff options
Diffstat (limited to 'network/nss-mdns/nss-mdns.SlackBuild')
-rw-r--r-- | network/nss-mdns/nss-mdns.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/network/nss-mdns/nss-mdns.SlackBuild b/network/nss-mdns/nss-mdns.SlackBuild index f87775b83fde..b3da80172e79 100644 --- a/network/nss-mdns/nss-mdns.SlackBuild +++ b/network/nss-mdns/nss-mdns.SlackBuild @@ -9,12 +9,10 @@ VERSION=0.10 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,7 +68,7 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/etc +mkdir -p $PKG/etc cat $CWD/mdns.allow > $PKG/etc/mdns.allow.new cat $CWD/nsswitch.conf-mdns > $PKG/etc/nsswitch.conf-mdns.new |