aboutsummaryrefslogtreecommitdiff
path: root/devel/linux-understand_ada
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_ada
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_ada')
-rw-r--r--devel/linux-understand_ada/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/linux-understand_ada/Makefile b/devel/linux-understand_ada/Makefile
index bbd4c20829b5..1a2a0c8e3cec 100644
--- a/devel/linux-understand_ada/Makefile
+++ b/devel/linux-understand_ada/Makefile
@@ -103,7 +103,9 @@ do-install:
.for file in ${BIN_FILES}
@${INSTALL_SCRIPT} ${WRKSRC}/bin/pc-linux_elf/${file} \
${PREFIX}/lib/${PORTNAME}/bin/pc-linux_elf
+.if exists(${STRIP})
@${STRIP} ${PREFIX}/lib/${PORTNAME}/bin/pc-linux_elf/${file}
+.endif
@${BRANDELF} -t Linux ${PREFIX}/lib/${PORTNAME}/bin/pc-linux_elf/${file}
@if [ ! -f ${PREFIX}/bin/${file} ]; \
then \