aboutsummaryrefslogtreecommitdiffstats
path: root/security/revealrk
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-18 23:06:43 +0800
committerwg <wg@FreeBSD.org>2013-11-18 23:06:43 +0800
commit13052f354a4b1bbd7d4e828582117e0b5314114a (patch)
tree35289141e8230d30b9a91aa5bd0f7b2d79036fda /security/revealrk
parent53664dc71217de19ba7aea347ed12684610e05c4 (diff)
downloadfreebsd-ports-gnome-13052f354a4b1bbd7d4e828582117e0b5314114a.tar.gz
freebsd-ports-gnome-13052f354a4b1bbd7d4e828582117e0b5314114a.tar.zst
freebsd-ports-gnome-13052f354a4b1bbd7d4e828582117e0b5314114a.zip
security/revealrk: stagify and respect CC
PR: ports/183968 Submitted by: maintainer
Diffstat (limited to 'security/revealrk')
-rw-r--r--security/revealrk/Makefile8
-rw-r--r--security/revealrk/files/patch-SConstruct13
2 files changed, 14 insertions, 7 deletions
diff --git a/security/revealrk/Makefile b/security/revealrk/Makefile
index ab1b6810b8bf..443b9e5d391f 100644
--- a/security/revealrk/Makefile
+++ b/security/revealrk/Makefile
@@ -11,18 +11,16 @@ COMMENT= Search hidden procs/rootkits from cron with low false positive rate
LICENSE= GPLv3
-PLIST_FILES= bin/revealrk
-MAN1= revealrk.1
+PLIST_FILES= bin/revealrk man/man1/revealrk.1.gz
MANCOMPRESSED= yes
NO_MANCOMPRESS= yes
USE_SCONS= yes
.if !empty(PREFIX)
-SCONS_ARGS= --prefix=${PREFIX}
+SCONS_ARGS= --prefix=${STAGEDIR}${PREFIX}
.else
-SCONS_ARGS= --prefix=${LOCALBASE}
+SCONS_ARGS= --prefix=${STAGEDIR}${LOCALBASE}
.endif
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/security/revealrk/files/patch-SConstruct b/security/revealrk/files/patch-SConstruct
index a307f9f841e7..397de798a40b 100644
--- a/security/revealrk/files/patch-SConstruct
+++ b/security/revealrk/files/patch-SConstruct
@@ -1,5 +1,5 @@
---- SConstruct.orig 2013-01-04 23:07:07.000000000 +0100
-+++ SConstruct 2013-01-04 23:08:37.000000000 +0100
+--- SConstruct.orig 2013-01-03 09:06:35.000000000 +0100
++++ SConstruct 2013-11-14 20:18:29.000000000 +0100
@@ -13,7 +13,7 @@
pkg_files = prog_files + Split('revealrk.1 SConstruct changelog license.txt README INSTALL cron.example Makefile config.h')
@@ -9,6 +9,15 @@
clean_all = not GetOption('clean_all') is None
static = not GetOption('static') is None
build_tgz = not GetOption('tgz') is None
+@@ -97,7 +97,7 @@
+
+ ########## Environment ##########
+
+-env = Environment(CC = 'gcc', CCFLAGS = '-std=c99 -Wall -pedantic')
++env = Environment(CC = 'cc', CCFLAGS = '-std=c99 -Wall -pedantic')
+ if not env.GetOption('clean'):
+ if not verbose:
+ env['CCCOMSTR'] = 'Compiling $TARGET'
@@ -147,8 +147,8 @@
conf.env.Append(LINKFLAGS = ' -static')
env = conf.Finish()