pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libltdl allow LIBLTDL_CONVENIENCE_SUBDIR to be a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7ca3d6ddd89
branches: trunk
changeset: 507738:a7ca3d6ddd89
user: drochner <drochner%pkgsrc.org@localhost>
date: Tue Feb 07 19:07:24 2006 +0000
description:
allow LIBLTDL_CONVENIENCE_SUBDIR to be a list of directories;
there is at least one prospective pkg which contains two copies
of libltdl
diffstat:
devel/libltdl/convenience.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 32ed0dbfed0d -r a7ca3d6ddd89 devel/libltdl/convenience.mk
--- a/devel/libltdl/convenience.mk Tue Feb 07 19:03:41 2006 +0000
+++ b/devel/libltdl/convenience.mk Tue Feb 07 19:07:24 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: convenience.mk,v 1.5 2004/12/24 23:44:30 tv Exp $
+# $NetBSD: convenience.mk,v 1.6 2006/02/07 19:07:24 drochner Exp $
#
# Override "libltdlc.la" -- the libltdl "convenience" library embedded into
# programs that ship with libltdl. Also override packages attempting to
@@ -9,12 +9,14 @@
post-patch: fix-libltdlc
fix-libltdlc:
@${ECHO} 'Fixing libltdl convenience library linkage.'
- @cd ${WRKSRC}/${LIBLTDL_CONVENIENCE_SUBDIR} && \
+.for sd in ${LIBLTDL_CONVENIENCE_SUBDIR}
+ @cd ${WRKSRC}/${sd} && \
${ECHO} 'all install clean:' >Makefile.in && \
${ECHO} 'all install clean:' >Makefile && \
${RM} -f Makefile.am configure* ltdl.h *.la && \
${LN} -s ${BUILDLINK_DIR}/include/ltdl.h ltdl.h && \
${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la libltdl.la && \
${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la libltdlc.la
+.endfor
.include "../../devel/libltdl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index