aboutsummaryrefslogtreecommitdiff
path: root/devel/linux-understand_c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-16 15:47:13 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-16 15:47:13 +0000
commit620038c6d1fc031683c8c37ab61951a8a32048ed (patch)
treef312cf1a238496c764dd18f83782bdbc765a5893 /devel/linux-understand_c
parentabcad1fe6e2218199fb7c3506e33cab4caf82444 (diff)
downloadports-620038c6d1fc031683c8c37ab61951a8a32048ed.tar.gz
ports-620038c6d1fc031683c8c37ab61951a8a32048ed.zip
o make stripping the binaries conditional to the existence of the
strip command o this is important since the current emulators/linux_base-7 does not carry a strip command and no appropriate port carrying it currently exists Prompted by: John Merryweather Cooper <john_m_cooper@yahoo.com>
Notes
Notes: svn path=/head/; revision=48845
Diffstat (limited to 'devel/linux-understand_c')
-rw-r--r--devel/linux-understand_c/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/linux-understand_c/Makefile b/devel/linux-understand_c/Makefile
index dcd93905b62a..e2bbe6e8c4e9 100644
--- a/devel/linux-understand_c/Makefile
+++ b/devel/linux-understand_c/Makefile
@@ -100,7 +100,9 @@ do-install:
.for file in ${BIN_FILES}
@${INSTALL_SCRIPT} ${WRKSRC}/bin/pc-linux_elf/${file} \
${PREFIX}/lib/understand_c/bin/pc-linux_elf
+.if exists(${STRIP})
@${STRIP} ${PREFIX}/lib/understand_c/bin/pc-linux_elf/${file}
+.endif
@${BRANDELF} -t Linux ${PREFIX}/lib/understand_c/bin/pc-linux_elf/${file}
@if [ ! -f ${PREFIX}/bin/${file} ]; \
then \