pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libltdl Not all implementations of ln(1) can han...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3f210bebcdc
branches: trunk
changeset: 483581:f3f210bebcdc
user: sketch <sketch%pkgsrc.org@localhost>
date: Mon Nov 15 12:19:40 2004 +0000
description:
Not all implementations of ln(1) can handle -fs arguments where the target
still exists. Explicitly rm the target before ln.
diffstat:
devel/libltdl/convenience.mk | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r b5f486b2c436 -r f3f210bebcdc devel/libltdl/convenience.mk
--- a/devel/libltdl/convenience.mk Mon Nov 15 11:38:42 2004 +0000
+++ b/devel/libltdl/convenience.mk Mon Nov 15 12:19:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: convenience.mk,v 1.3 2004/11/05 17:31:28 tv Exp $
+# $NetBSD: convenience.mk,v 1.4 2004/11/15 12:19:40 sketch Exp $
#
# Override "libltdlc.la" -- the libltdl "convenience" library embedded into
# programs that ship with libltdl. Also override packages attempting to
@@ -9,8 +9,11 @@
${ECHO} 'all install clean:' >${WRKSRC}/libltdl/Makefile.in
${ECHO} 'all install clean:' >${WRKSRC}/libltdl/Makefile
${RM} -f ${WRKSRC}/libltdl/Makefile.am ${WRKSRC}/libltdl/configure*
- ${LN} -fs ${BUILDLINK_DIR}/include/ltdl.h ${WRKSRC}/libltdl/ltdl.h
- ${LN} -fs ${BUILDLINK_DIR}/lib/libltdl.la ${WRKSRC}/libltdl/libltdl.la
- ${LN} -fs ${BUILDLINK_DIR}/lib/libltdl.la ${WRKSRC}/libltdl/libltdlc.la
+ ${RM} -f ${WRKSRC}/libltdl/ltdl.h
+ ${LN} -s ${BUILDLINK_DIR}/include/ltdl.h ${WRKSRC}/libltdl/ltdl.h
+ ${RM} -f ${WRKSRC}/libltdl/libltdl.la
+ ${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la ${WRKSRC}/libltdl/libltdl.la
+ ${RM} -f ${WRKSRC}/libltdl/libltdlc.la
+ ${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la ${WRKSRC}/libltdl/libltdlc.la
.include "../../devel/libltdl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index