aboutsummaryrefslogtreecommitdiff
path: root/system/pcmanfm/pcmanfm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcmanfm/pcmanfm.SlackBuild')
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index 506a4542cc51..b770311088cb 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=pcmanfm
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,9 +73,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sh autogen.sh || true
+# Apply patches from upstream
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
+autoreconf -fi
-LDFLAGS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \