summaryrefslogtreecommitdiff
path: root/devel/dlcompat/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dlcompat/buildlink2.mk')
-rw-r--r--devel/dlcompat/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/dlcompat/buildlink2.mk b/devel/dlcompat/buildlink2.mk
new file mode 100644
index 00000000000..1d79308ed2f
--- /dev/null
+++ b/devel/dlcompat/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:26 jlam Exp $
+
+.if !defined(DLCOMPAT_BUILDLINK2_MK)
+DLCOMPAT_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= dlcompat
+BUILDLINK_DEPENDS.dlcompat?= dlcompat>=20020606
+BUILDLINK_PKGSRCDIR.dlcompat?= ../../devel/dlcompat
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.dlcompat=dlcompat
+BUILDLINK_PREFIX.dlcompat_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.dlcompat= include/dlfcn.h
+BUILDLINK_FILES.dlcompat+= lib/libdl.*
+
+BUILDLINK_TARGETS+= dlcompat-buildlink
+
+dlcompat-buildlink: _BUILDLINK_USE
+
+.endif # DLCOMPAT_BUILDLINK2_MK