diff options
author | tron <tron> | 2005-07-25 08:41:29 +0000 |
---|---|---|
committer | tron <tron> | 2005-07-25 08:41:29 +0000 |
commit | 5ad6c0597138bfaccd7394ad357228193ae8ed4e (patch) | |
tree | 66c1a0354c6d61135df884ceb9ca416776dbc45a /net | |
parent | 6eae0546553d3948259a7944b98f947a4cc41d4c (diff) | |
download | pkgsrc-5ad6c0597138bfaccd7394ad357228193ae8ed4e.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 |