aboutsummaryrefslogtreecommitdiff
path: root/libraries/agg/agg.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-07-16 18:00:19 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:34:16 +0700
commite28787e9e05fc37a6b194ebf62ad5bc647190596 (patch)
treead51d84194c2656f61b59428b08fc6b11940e02d /libraries/agg/agg.SlackBuild
parent6fd855630e6d1862995a200f5a07d9ade9190286 (diff)
libraries/agg: Added patches from fedora.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 c4b3f21fbef5..02a9477479b5 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" \