summaryrefslogtreecommitdiffstats
path: root/system/makefile2graph
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-08-24 21:44:33 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:39 +0700
commit0169b8abdc3f7944b3030ea0af40b2d2a65d327b (patch)
tree7d580bf89e2f5c41f05d2a06abbdcf9765767d55 /system/makefile2graph
parentbb5d8b21c2cc917bbeca212cb32c10c1b4685229 (diff)
downloadslackbuilds-0169b8abdc3f7944b3030ea0af40b2d2a65d327b.tar.gz
slackbuilds-0169b8abdc3f7944b3030ea0af40b2d2a65d327b.tar.xz
system/makefile2graph: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/makefile2graph')
-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