summaryrefslogtreecommitdiffstats
path: root/source/l/libyaml/libyaml.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libyaml/libyaml.SlackBuild')
-rwxr-xr-xsource/l/libyaml/libyaml.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/l/libyaml/libyaml.SlackBuild b/source/l/libyaml/libyaml.SlackBuild
index 4aab8b343..18f2dccd1 100755
--- a/source/l/libyaml/libyaml.SlackBuild
+++ b/source/l/libyaml/libyaml.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libyaml
-SRCNAM=yaml
+SRCNAM=libyaml
VERSION=$(echo $SRCNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
BUILD=${BUILD:-1}
@@ -90,6 +90,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ ! -x configure ]; then
+ autoreconf -vif
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \