diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-04 19:46:55 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-10 08:09:30 +0700 |
commit | 8ce7b2ef32acae3d1d9567789be6c2c72d67af57 (patch) | |
tree | f168fb552a85e2ace038bcfdf993a8a87cb87b7c | |
parent | e3a5b4588b42a510998d5d03267a8392e080d8d5 (diff) | |
download | slackbuilds-8ce7b2ef32acae3d1d9567789be6c2c72d67af57.tar.gz |
libraries/adns: Fix ownership & perms.
Set usual CFLAGS.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/adns/adns.SlackBuild | 8 |
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} \ |