svn commit: r334205 - in head/security/revealrk: . files
William Grzybowski
wg at FreeBSD.org
Mon Nov 18 15:06:44 UTC 2013
Author: wg
Date: Mon Nov 18 15:06:43 2013
New Revision: 334205
URL: http://svnweb.freebsd.org/changeset/ports/334205
Log:
security/revealrk: stagify and respect CC
PR: ports/183968
Submitted by: maintainer
Modified:
head/security/revealrk/Makefile
head/security/revealrk/files/patch-SConstruct
Modified: head/security/revealrk/Makefile
==============================================================================
--- head/security/revealrk/Makefile Mon Nov 18 14:57:05 2013 (r334204)
+++ head/security/revealrk/Makefile Mon Nov 18 15:06:43 2013 (r334205)
@@ -11,18 +11,16 @@ COMMENT= Search hidden procs/rootkits fr
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>
Modified: head/security/revealrk/files/patch-SConstruct
==============================================================================
--- head/security/revealrk/files/patch-SConstruct Mon Nov 18 14:57:05 2013 (r334204)
+++ head/security/revealrk/files/patch-SConstruct Mon Nov 18 15:06:43 2013 (r334205)
@@ -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()
More information about the svn-ports-all
mailing list