svn commit: r399705 - head/net-mgmt/aircrack-ng

Jan Beich jbeich at vfemail.net
Mon Oct 19 23:21:35 UTC 2015


Lars Engels <lme at FreeBSD.org> writes:

> +INSTALL_TARGET=	strip install
[...]
> -post-install:
> -	@${STRIP_CMD} ${BIN_FILES:S,^,${STAGEDIR}${PREFIX}/bin/,} \
> -		${SBIN_FILES:S,^,${STAGEDIR}${PREFIX}/sbin/,}

This always strips the binaries, even for WITH_DEBUG=1. The magic for
INSTALL_TARGET in bsd.port.mk only works with default automake target.

Index: net-mgmt/aircrack-ng/Makefile
===================================================================
--- net-mgmt/aircrack-ng/Makefile	(revision 399707)
+++ net-mgmt/aircrack-ng/Makefile	(working copy)
@@ -18,7 +18,7 @@ CPE_VERSION=	${DISTVERSION:C/-.*//}
 CPE_UPDATE=	${DISTVERSION:C/^[^-]*$//:C/.*-//}
 DOS2UNIX_FILES=	src/osdep/byteorder.h
 MAKE_ARGS=	experimental=true libnl=false prefix=${PREFIX}
-INSTALL_TARGET=	strip install
+INSTALL_TARGET=	${STRIP:S/-s/strip/} install
 USE_OPENSSL=	yes
 
 OPTIONS_DEFINE=	PCRE SQLITE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151019/67650bc1/attachment.bin>


More information about the svn-ports-all mailing list