diff options
Diffstat (limited to 'libraries/agg/agg.SlackBuild')
-rw-r--r-- | libraries/agg/agg.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild index c4b3f21fbe..02a9477479 100644 --- a/libraries/agg/agg.SlackBuild +++ b/libraries/agg/agg.SlackBuild @@ -10,7 +10,7 @@ PRGNAM=agg VERSION=${VERSION:-2.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,11 +55,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Fix a libtool error and the .pc file. -sed -r -i -e 's:^(.*) -L@.*:\1:' src/platform/X11/Makefile.am -patch -p1 < $CWD/no_rpath.patch - -sh ./autogen.sh +# apply patches from fedora (thanks!) +for i in $CWD/patches/* ; do patch -p1 < $i ; done +aclocal +autoheader +autoconf +libtoolize -f +automake --foreign -a -i CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |