diff options
author | drochner <drochner> | 2006-02-07 19:07:24 +0000 |
---|---|---|
committer | drochner <drochner> | 2006-02-07 19:07:24 +0000 |
commit | fe7d789de2b78156292f20682aab45a1c3b77178 (patch) | |
tree | ce0260f09f9c2947ce9fe463e010791cc68e8b28 | |
parent | 61e15d26dea3234923183bc17ac9d234cc0b08cf (diff) | |
download | pkgsrc-fe7d789de2b78156292f20682aab45a1c3b77178.tar.gz |
allow LIBLTDL_CONVENIENCE_SUBDIR to be a list of directories;
there is at least one prospective pkg which contains two copies
of libltdl
-rw-r--r-- | devel/libltdl/convenience.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libltdl/convenience.mk b/devel/libltdl/convenience.mk index 10a74dd86b3..644f0744df8 100644 --- a/devel/libltdl/convenience.mk +++ b/devel/libltdl/convenience.mk @@ -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 @@ LIBLTDL_CONVENIENCE_SUBDIR?= libltdl 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" |