aboutsummaryrefslogtreecommitdiff
path: root/libraries/agg/agg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/agg/agg.SlackBuild')
-rw-r--r--libraries/agg/agg.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild
index c4b3f21fbef5c..02a9477479b5c 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" \