ports/168133: [patch update] Some fixes for the Makefile
Kurt Jaeger
fbsd-ports at opsec.eu
Sat May 19 10:30:12 UTC 2012
>Number: 168133
>Category: ports
>Synopsis: [patch update] Some fixes for the Makefile
>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: Sat May 19 10:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kurt Jaeger
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD zfs.opsec.eu 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
koobs sent me this patch. It fixes those issues:
- Respect CC and CFLAGS
- Add MARK_JOBS_SAFE
- Add redundant MASTER_SITE
- Bump PORTREVISION
>How-To-Repeat:
-
>Fix:
--- Makefile.orig 2012-05-16 12:22:14.000000000 +1000
+++ Makefile 2012-05-16 12:30:52.000000000 +1000
@@ -7,8 +7,11 @@
PORTNAME= p0f
PORTVERSION= 3.05b
+PORTREVISION= 1
CATEGORIES= net-mgmt security
-MASTER_SITES= http://lcamtuf.coredump.cx/p0f3/releases/
+MASTER_SITES= http://lcamtuf.coredump.cx/p0f3/releases/ \
+ http://fossies.org/unix/privat/
+
EXTRACT_SUFX= .tgz
MAINTAINER= fbsd-ports at opsec.eu
@@ -18,6 +21,9 @@
bin/p0f-sendsyn6 etc/p0f.fp
PORTDOCS= COPYING ChangeLog README TODO existential-notes.txt extra-sigs.txt
+MAKE_JOBS_SAFE= yes
+MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/README
@${REINPLACE_CMD} -e 's|p0f.fp|${PREFIX}/etc/p0f.fp|g' ${WRKSRC}/config.h
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list