ports/107227: [patch] dns/dnstop - Respect CC and CFLAGS
Babak Farrokhi
farrokhi at FreeBSD.org
Wed Dec 27 06:50:12 UTC 2006
>Number: 107227
>Category: ports
>Synopsis: [patch] dns/dnstop - Respect CC and CFLAGS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 27 06:50:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.2-PRERELEASE #0: Sun Dec 17 12:03:14 IRST 2006
root at starfish.farrokhi.net:/usr/obj/usr/src/sys/STARFISH
>Description:
- Respect CC and CFLAGS
>How-To-Repeat:
>Fix:
--- dnstop.patch begins here ---
diff -ruN dnstop.orig/Makefile dnstop/Makefile
--- dnstop.orig/Makefile Wed Dec 27 09:37:42 2006
+++ dnstop/Makefile Wed Dec 27 09:43:40 2006
@@ -15,6 +15,10 @@
MAN8= dnstop.8
PLIST_FILES= bin/dnstop
+post-patch:
+ ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS\?=|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|^CC=|CC\?=|' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dnstop ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dnstop.8 ${PREFIX}/man/man8
--- dnstop.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list