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:
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
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue