From ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 28 May 2002 16:33:27 +0000 Subject: After update of linux_base to 7.1 in rev 1.60, correct detection of strip tool since it is not part of 7.1 --- net-p2p/linux-edonkey-server/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'net-p2p/linux-edonkey-server') diff --git a/net-p2p/linux-edonkey-server/Makefile b/net-p2p/linux-edonkey-server/Makefile index bdea5750e4a8..48bbcf85e5b3 100644 --- a/net-p2p/linux-edonkey-server/Makefile +++ b/net-p2p/linux-edonkey-server/Makefile @@ -44,12 +44,6 @@ post-patch: -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${FILESDIR}/${RC_SAMPLE} \ > ${WRKDIR}/${RC_SAMPLE} -pre-install: -.if exists(${STRIP_CMD}) -# @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} -.endif - @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} - do-install: # pre-install work: create user ids, ... @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ @@ -58,4 +52,12 @@ do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${RC_SAMPLE} ${PREFIX}/etc/rc.d @${INSTALL_DATA} ${FILESDIR}/donkey.ini ${PREFIX}/etc/edonkey2000 -.include +.include + +pre-install: +.if exists(${STRIP_CMD}) + @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} +.endif + @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} + +.include -- cgit