diff --git a/deps/libunique/libunique.SlackBuild b/deps/libunique/libunique.SlackBuild index f1cb8f4..fbf8051 100644 --- a/deps/libunique/libunique.SlackBuild +++ b/deps/libunique/libunique.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libunique # Copyright 2013 Chess Griffin Raleigh, NC -# Copyright 2013 Willy Sudiarto Raharjo +# Copyright 2013-2014 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -68,16 +68,17 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +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 {} \; patch -p1 < $CWD/libunique-1.1.6-compiler-warnings.patch patch -p1 < $CWD/libunique-1.1.6-G_CONST_RETURN.patch patch -p1 < $CWD/libunique-1.1.6-gdbus.patch +autoreconf -fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -119,9 +120,7 @@ if [ -d $PKG/usr/man ]; then fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION