From abc3d4f7c502b1272cde6eed85dacdd9862051be Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 3 Apr 2014 22:11:52 +0000 Subject: Prepend install(1) command with the STRIPBIN env defined to the proper STRIPBIN to allow cross-installation Reported by: ian --- Mk/bsd.port.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mk/bsd.port.mk') diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 87fecab5e802..0b0a1584d3fc 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2210,11 +2210,11 @@ _MANOWNGRP= # A few aliases for *-install targets INSTALL_PROGRAM= \ - ${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m ${BINMODE} + STRIPBIN=${STRIP_CMD} ${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m ${BINMODE} INSTALL_KLD= \ ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_LIB= \ - ${INSTALL} ${COPY} ${STRIP} ${_SHROWNGRP} -m ${SHAREMODE} + STRIPBIN=${STRIP_CMD}${INSTALL} ${COPY} ${STRIP} ${_SHROWNGRP} -m ${SHAREMODE} INSTALL_SCRIPT= \ ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_DATA= \ -- cgit