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>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-10-16 15:47:13 +00:00
parent abcad1fe6e
commit 620038c6d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48845
4 changed files with 8 additions and 0 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \