Use ${STRIP_CMD} instead of strip.
Founded by: Oleg Karachevtsev <ok at etrust dot ru>
This commit is contained in:
@@ -128,12 +128,12 @@ post-install:
|
||||
tee ${PREFIX}/share/postgresql/post-install-notes
|
||||
.if !defined(DEBUG_FLAGS)
|
||||
.for file in ecpg pg_dump pg_id pg_passwd pg_restore psql
|
||||
@ strip ${PREFIX}/bin/${file}
|
||||
@ ${STRIP_CMD} ${PREFIX}/bin/${file}
|
||||
.endfor
|
||||
.endif
|
||||
.if !defined(WITHOUT_SERVER)
|
||||
# install shell defaults for pgsql user
|
||||
@ strip ${PREFIX}/bin/postgres
|
||||
@ ${STRIP_CMD} ${PREFIX}/bin/postgres
|
||||
.for i in profile cshrc
|
||||
@ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \
|
||||
< ${FILESDIR}/dot.$i.in \
|
||||
|
||||
@@ -44,7 +44,7 @@ post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/../TODO \
|
||||
${PREFIX}/share/doc/xshipwars
|
||||
@ ${ECHO} "===> Stripping Binary "
|
||||
@ strip ${PREFIX}/bin/xsw
|
||||
@ ${STRIP_CMD} ${PREFIX}/bin/xsw
|
||||
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ ALL_TARGET= poppassd
|
||||
MAN8= poppassd.8
|
||||
|
||||
post-install:
|
||||
@ strip ${PREFIX}/libexec/poppassd
|
||||
@ ${STRIP_CMD} ${PREFIX}/libexec/poppassd
|
||||
@ ${INSTALL_MAN} ${FILESDIR}/poppassd.8 ${PREFIX}/man/man8/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -117,7 +117,7 @@ pre-configure:
|
||||
#
|
||||
|
||||
post-install:
|
||||
@ strip ${PREFIX}/sbin/loaddaemon ${PREFIX}/sbin/finish_autoinst \
|
||||
@ ${STRIP_CMD} ${PREFIX}/sbin/loaddaemon ${PREFIX}/sbin/finish_autoinst \
|
||||
${PREFIX}/sbin/lpserver ${PREFIX}/sbin/netclient \
|
||||
${PREFIX}/sbin/netdaemon ${PREFIX}/sbin/netserver \
|
||||
${PREFIX}/sbin/nqsdaemon ${PREFIX}/sbin/nqsexejob \
|
||||
|
||||
Reference in New Issue
Block a user