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

Mathieu Arnold mat at FreeBSD.org
Tue Oct 20 09:26:07 UTC 2015



+--On 19 octobre 2015 20:33:35 +0200 Jan Beich <jbeich at vfemail.net> wrote:
| 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

This is harder to understand, if you don't know what STRIP is for, or what
it contains, it does not make a lot of sense, the previous way was better,
I feel.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151020/2a61bf6f/attachment.bin>


More information about the svn-ports-all mailing list