summaryrefslogtreecommitdiff
path: root/devel/libltdl
diff options
context:
space:
mode:
authortonio <tonio>2006-05-19 09:12:29 +0000
committertonio <tonio>2006-05-19 09:12:29 +0000
commitd93893737b7d13da769798ed7aeb9abc88c7e0f7 (patch)
tree48015bde29628ff3bda47b3d59998106c8ec0040 /devel/libltdl
parentb4c4c514f8889e735083ee5ce6b62589e8d40068 (diff)
downloadpkgsrc-d93893737b7d13da769798ed7aeb9abc88c7e0f7.tar.gz
add a symlink for libltdl.dylib when OPSYS == Darwin
This fixes lang/kaffe build
Diffstat (limited to 'devel/libltdl')
-rw-r--r--devel/libltdl/convenience.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/libltdl/convenience.mk b/devel/libltdl/convenience.mk
index 644f0744df8..017d036a9cf 100644
--- a/devel/libltdl/convenience.mk
+++ b/devel/libltdl/convenience.mk
@@ -1,10 +1,11 @@
-# $NetBSD: convenience.mk,v 1.6 2006/02/07 19:07:24 drochner Exp $
+# $NetBSD: convenience.mk,v 1.7 2006/05/19 09:12:29 tonio Exp $
#
# Override "libltdlc.la" -- the libltdl "convenience" library embedded into
# programs that ship with libltdl. Also override packages attempting to
# build and install the full "libltdl.la".
LIBLTDL_CONVENIENCE_SUBDIR?= libltdl
+.include "../../mk/bsd.prefs.mk"
post-patch: fix-libltdlc
fix-libltdlc:
@@ -17,6 +18,10 @@ fix-libltdlc:
${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
+. if ${OPSYS} == "Darwin"
+ @cd ${WRKSRC}/${sd} && \
+ ${LN} -s ${BUILDLINK_DIR}/lib/libltdl.dylib libltdlc.dylib
+. endif
.endfor
.include "../../devel/libltdl/buildlink3.mk"