summaryrefslogtreecommitdiffstats
path: root/system/makefile2graph/makefile2graph.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/makefile2graph/makefile2graph.SlackBuild')
-rw-r--r--system/makefile2graph/makefile2graph.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/makefile2graph/makefile2graph.SlackBuild b/system/makefile2graph/makefile2graph.SlackBuild
index df00e77d70..0bafa67d65 100644
--- a/system/makefile2graph/makefile2graph.SlackBuild
+++ b/system/makefile2graph/makefile2graph.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,7 +56,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
-make -j1 \
+# 20210824 bkw: fix parallel build. not that helpful really since
+# there's only one source file to compile anyway.
+sed -i '/^install:/s,$, all,' Makefile
+
+make \
CFLAGS="$SLKCFLAGS -Wl,-s" DESTDIR=$PKG \
prefix=/usr man1dir=/usr/man/man1 pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
all install