aboutsummaryrefslogtreecommitdiff
path: root/network/rejik
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-02-27 00:45:02 +0000
committerRobby Workman <rworkman@slackbuilds.org>2022-02-26 21:57:08 -0600
commitdad88f9273de5a7ae9ce6d6129eb00143fda727e (patch)
tree0a1c2e5c49c17a199eaa99b82f2dab45a99ccdda /network/rejik
parent3b6b20b0ebb52e4e695db0fc5a284cd60e7a3a57 (diff)
network/rejik: Add -fcommon to CFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'network/rejik')
-rw-r--r--network/rejik/rejik.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/rejik/rejik.SlackBuild b/network/rejik/rejik.SlackBuild
index 35e878ff26812..f13f76c357fec 100644
--- a/network/rejik/rejik.SlackBuild
+++ b/network/rejik/rejik.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rejik
TARNAME=redirector
VERSION=${VERSION:-3.2.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,6 +85,8 @@ patch -p 0 < $CWD/fixdestdir.patch
# Fix config file for new location
patch -p 0 < $CWD/fixconf.patch
+sed -i "s,CC=gcc ,&$SLKCFLAGS -fcommon ," Makefile
+
DSTDIR=$PKG make
DSTDIR=$PKG make install