diff options
author | tron <tron@pkgsrc.org> | 2005-07-25 08:41:29 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-07-25 08:41:29 +0000 |
commit | aeecebc5492779045d0eed53245454dafa4afc05 (patch) | |
tree | 66c1a0354c6d61135df884ceb9ca416776dbc45a /net | |
parent | 671a1eb62c042c1b35011ca925f736980b7baf24 (diff) | |
download | pkgsrc-aeecebc5492779045d0eed53245454dafa4afc05.tar.gz |
Remove "${PREFIX}/bin/mlgui" before attempting to create the symlink to
avoid failures after an incomplete "make install".
Diffstat (limited to 'net')
-rw-r--r-- | net/mldonkey-gui/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile index 998973c4f60..039de5ecb43 100644 --- a/net/mldonkey-gui/Makefile +++ b/net/mldonkey-gui/Makefile @@ -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 |