ports/113519: [patch] net-mgmt/aircrack-ng - respect CC
Emanuel Haupt
ehaupt at FreeBSD.org
Sun Jun 10 12:20:04 UTC 2007
>Number: 113519
>Category: ports
>Synopsis: [patch] net-mgmt/aircrack-ng - respect CC
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 10 12:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
The following patch makes net-mgmt/aircrack-ng respect CC
>How-To-Repeat:
>Fix:
--- aircrack-ng.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/aircrack-ng/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 25 May 2007 22:11:28 -0000 1.11
+++ Makefile 10 Jun 2007 12:09:24 -0000
@@ -36,8 +36,11 @@
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} \
+ -e 's|/usr/local|${PREFIX}|g' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|g;' \
+ -e '/^CC/d;' \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aircrack-ng ${PREFIX}/bin
--- aircrack-ng.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list