diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-16 15:47:13 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-16 15:47:13 +0000 |
commit | 620038c6d1fc031683c8c37ab61951a8a32048ed (patch) | |
tree | f312cf1a238496c764dd18f83782bdbc765a5893 /devel | |
parent | Update to 1.321. (diff) |
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')
-rw-r--r-- | devel/linux-understand_ada/Makefile | 2 | ||||
-rw-r--r-- | devel/linux-understand_c/Makefile | 2 | ||||
-rw-r--r-- | devel/understand_ada/Makefile | 2 | ||||
-rw-r--r-- | devel/understand_c/Makefile | 2 |
4 files changed, 8 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 \ 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 \ diff --git a/devel/understand_ada/Makefile b/devel/understand_ada/Makefile index bbd4c20829b5..1a2a0c8e3cec 100644 --- a/devel/understand_ada/Makefile +++ b/devel/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 \ diff --git a/devel/understand_c/Makefile b/devel/understand_c/Makefile index dcd93905b62a..e2bbe6e8c4e9 100644 --- a/devel/understand_c/Makefile +++ b/devel/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 \ |