aboutsummaryrefslogtreecommitdiff
path: root/security/revealrk
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-18 15:06:43 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-18 15:06:43 +0000
commitbb4a0c70ba7125beb58b80fa9033442b4af9b2bc (patch)
tree35289141e8230d30b9a91aa5bd0f7b2d79036fda /security/revealrk
parent1304870568707d26a535733563e4c960e200e4fe (diff)
downloadports-bb4a0c70ba7125beb58b80fa9033442b4af9b2bc.tar.gz
ports-bb4a0c70ba7125beb58b80fa9033442b4af9b2bc.zip
Notes
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()