pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mbone/mdp don't assume we can create a symlink overwri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7c69e05a606
branches:  trunk
changeset: 462728:d7c69e05a606
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 11 03:20:30 2003 +0000

description:
don't assume we can create a symlink overwriting an existing symlink.
remove some trailing slashes.

diffstat:

 mbone/mdp/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r ac4e8b0dbbc4 -r d7c69e05a606 mbone/mdp/Makefile
--- a/mbone/mdp/Makefile        Sat Oct 11 02:44:17 2003 +0000
+++ b/mbone/mdp/Makefile        Sat Oct 11 03:20:30 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:48:25 grant Exp $
+# $NetBSD: Makefile,v 1.4 2003/10/11 03:20:30 grant Exp $
 #
 
 DISTNAME=      src-mdp-1.9a5
@@ -17,8 +17,9 @@
 
 pre-build:
                ${LN} -sf ${WRKSRC}/Makefile.netbsd ${WRKSRC}/Makefile
-               ${LN} -sf ${WRKDIR}/protolib-1.0/ ${WRKSRC}/../protolib
+               ${RM} -f ${WRKSRC}/../protolib
+               ${LN} -sf ${WRKDIR}/protolib-1.0 ${WRKSRC}/../protolib
 do-install:
-               ${INSTALL_PROGRAM} ${WRKSRC}/mdp ${PREFIX}/bin/
+               ${INSTALL_PROGRAM} ${WRKSRC}/mdp ${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index