Use "${STRIPFLAG}" and not "${STRIP}" as argument to "install" in the

"do-install" target so that the "lsof" binary really gets stripped. Patch
supplied by Eric Gillespie Jr. in PR pkg/14092.
This commit is contained in:
tron 2001-09-29 06:18:10 +00:00
parent 27cafa641c
commit b915dc0f22

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.45 2001/08/21 09:51:56 wiz Exp $
# $NetBSD: Makefile,v 1.46 2001/09/29 06:18:10 tron Exp $
#
DISTNAME= lsof_4.57_W
@ -51,7 +51,7 @@ post-extract:
@( cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1 )
do-install:
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
${WRKSRC}/lsof ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/lsof.man ${PREFIX}/man/man1/lsof.1
@${INSTALL_DATA_DIR} ${PREFIX}/share/lsof