Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 12:57:30 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142347: [PATCH] [MAINTAINER] security/wipe Respect CFLAGS
Message-ID:  <201001051257.o05CvUYU072382@www.freebsd.org>
Resent-Message-ID: <201001051300.o05D0CY2070019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142347
>Category:       ports
>Synopsis:       [PATCH] [MAINTAINER] security/wipe Respect CFLAGS
>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:   Tue Jan 05 13:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD amethyst.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r201473: Mon Jan  4 19:10:44 PST 2010     rfarmer@amethyst.predatorlabs.net:/usr/obj/usr/src/sys/AMETHYST  i386
>Description:
* Respect ${CFLAGS}
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN wipe.old/Makefile wipe/Makefile
--- wipe.old/Makefile	2010-01-04 23:35:22.000000000 -0800
+++ wipe/Makefile	2010-01-04 23:35:44.000000000 -0800
@@ -7,7 +7,7 @@
 
 PORTNAME=	wipe
 PORTVERSION=	2.3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	SF
 
@@ -20,6 +20,9 @@
 MAN1=		wipe.1
 PORTDOCS=	CHANGES INSTALL LICENSE README TESTING TODO copyright
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/wipe.1 ${PREFIX}/man/man1
 .if !defined(NOPORTDOCS)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001051257.o05CvUYU072382>