pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/mng Remove files before creating symlinks (as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9597f8a09b12
branches:  trunk
changeset: 485003:9597f8a09b12
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Dec 02 17:42:18 2004 +0000

description:
Remove files before creating symlinks (as required on Solaris).

diffstat:

 graphics/mng/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r ca8ee1755a6d -r 9597f8a09b12 graphics/mng/Makefile
--- a/graphics/mng/Makefile     Thu Dec 02 17:40:49 2004 +0000
+++ b/graphics/mng/Makefile     Thu Dec 02 17:42:18 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/10/03 00:14:56 tv Exp $
+# $NetBSD: Makefile,v 1.19 2004/12/02 17:42:18 reed Exp $
 
 DISTNAME=      libmng-1.0.8
 PKGNAME=       ${DISTNAME:S/lib//}
@@ -28,8 +28,8 @@
 
 pre-configure:
        cd ${WRKSRC};                           \
-       ${LN} -sf makefiles/configure.in .;     \
-       ${LN} -sf makefiles/Makefile.am .;      \
+       ${RM} -f configure.in && ${LN} -sf makefiles/configure.in .;    \
+       ${RM} -f Makefile.am && ${LN} -sf makefiles/Makefile.am .;      \
        ${ACLOCAL};                             \
        ${LOCALBASE}/bin/libtoolize --automake; \
        ${AUTOMAKE} -a --foreign -i;            \



Home | Main Index | Thread Index | Old Index