summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/papi/papi.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/academic/papi/papi.SlackBuild b/academic/papi/papi.SlackBuild
index 9d42f2f398..171b276dd9 100644
--- a/academic/papi/papi.SlackBuild
+++ b/academic/papi/papi.SlackBuild
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION/src
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+cd src
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \