summaryrefslogtreecommitdiff
path: root/devel/libltdl
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-05-19 09:12:29 +0000
committertonio <tonio@pkgsrc.org>2006-05-19 09:12:29 +0000
commitcbd716ffcce772587377b17afcd90e255169505f (patch)
tree48015bde29628ff3bda47b3d59998106c8ec0040 /devel/libltdl
parenta293fa6de0730a72904c5d681d33e06bbe0ef572 (diff)
downloadpkgsrc-cbd716ffcce772587377b17afcd90e255169505f.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"