diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2007-06-14 02:24:26 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2007-06-14 02:24:26 +0800 |
commit | a3efeaf330ebc1c4a42a0f0d2c1bf0882db5b00e (patch) | |
tree | c863964b90ec660a013cc198f1d94fd44736ee11 /net-mgmt/aircrack-ng | |
parent | 7f6b9627bc367553c1effed78b95447465bba54d (diff) | |
download | freebsd-ports-gnome-a3efeaf330ebc1c4a42a0f0d2c1bf0882db5b00e.tar.gz freebsd-ports-gnome-a3efeaf330ebc1c4a42a0f0d2c1bf0882db5b00e.tar.zst freebsd-ports-gnome-a3efeaf330ebc1c4a42a0f0d2c1bf0882db5b00e.zip |
This port now respects CC.
PR: 113519
Approved by: maintainer
Diffstat (limited to 'net-mgmt/aircrack-ng')
-rw-r--r-- | net-mgmt/aircrack-ng/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/aircrack-ng/Makefile b/net-mgmt/aircrack-ng/Makefile index 1dc44593acc2..07e1a7c31cc3 100644 --- a/net-mgmt/aircrack-ng/Makefile +++ b/net-mgmt/aircrack-ng/Makefile @@ -36,8 +36,11 @@ MAN1+= aireplay-ng.1 .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 |