From 8ce7b2ef32acae3d1d9567789be6c2c72d67af57 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 4 Feb 2018 19:46:55 +0000 Subject: [PATCH] libraries/adns: Fix ownership & perms. Set usual CFLAGS. Signed-off-by: David Spencer --- libraries/adns/adns.SlackBuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild index 6dc44a8879..1664e0031d 100644 --- a/libraries/adns/adns.SlackBuild +++ b/libraries/adns/adns.SlackBuild @@ -62,9 +62,17 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; zcat $CWD/destdir.patch.gz | patch -p1 +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \