Remove "${PREFIX}/bin/mlgui" before attempting to create the symlink to
avoid failures after an incomplete "make install".
This commit is contained in:
parent
671a1eb62c
commit
aeecebc549
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2005/07/23 18:47:43 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2005/07/25 08:41:29 tron Exp $
|
||||
#
|
||||
|
||||
.include "../../net/mldonkey/Makefile.common"
|
||||
|
@ -14,6 +14,7 @@ PRINT_PLIST_AWK+= /^@dirrm libexec\/mldonkey$$/ \
|
|||
INSTALLATION_DIRS= bin
|
||||
|
||||
do-install:
|
||||
${RM} -f ${PREFIX}/bin/mlgui
|
||||
cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
|
||||
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mlchat ${PREFIX}/libexec/mldonkey
|
||||
|
|
Loading…
Reference in a new issue