Date: Thu, 14 Nov 2013 20:24:28 +0100 From: Kurt Jaeger <fbsd-ports@opsec.eu> To: FreeBSD-gnats-submit@freebsd.org Cc: wg@freebsd.org Subject: ports/183968: [patch update] security/revealrk: fix build, staging support Message-ID: <E1Vh2Wi-000ELp-SL@f10.opsec.eu> Resent-Message-ID: <201311141930.rAEJU0B1005936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183968 >Category: ports >Synopsis: [patch update] security/revealrk: fix build, staging support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 14 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kurt Jaeger >Release: FreeBSD 10.0-BETA3 amd64 >Organization: - >Environment: System: FreeBSD f10.opsec.eu 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: fix build, staging support >How-To-Repeat: - >Fix: diff -r -u -N security/revealrk/Makefile /usr/home/pi/myp/security/revealrk/Makefile --- security/revealrk/Makefile 2013-10-01 21:10:06.000000000 +0200 +++ /usr/home/pi/myp/security/revealrk/Makefile 2013-11-14 20:22:26.000000000 +0100 @@ -11,18 +11,16 @@ 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 -r -u -N security/revealrk/files/patch-SConstruct /usr/home/pi/myp/security/revealrk/files/patch-SConstruct --- security/revealrk/files/patch-SConstruct 2013-10-01 21:10:05.000000000 +0200 +++ /usr/home/pi/myp/security/revealrk/files/patch-SConstruct 2013-11-14 20:18:59.000000000 +0100 @@ -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 = 'clang', 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() >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Vh2Wi-000ELp-SL>