summaryrefslogtreecommitdiff
path: root/libraries/adns
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/adns')
-rw-r--r--libraries/adns/adns.SlackBuild8
1 files changed, 8 insertions, 0 deletions
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} \