summaryrefslogtreecommitdiff
path: root/devel/libffi
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-03-28 20:46:52 +0000
committerjmmv <jmmv@pkgsrc.org>2004-03-28 20:46:52 +0000
commit614c91180838225da1751f46956a6911546c10bd (patch)
treec6a3ea409eca6d8d9aee5cb5964f894b48f87eeb /devel/libffi
parent223ab6657bade9f397b8e02a0a3bf65dedd53efc (diff)
downloadpkgsrc-614c91180838225da1751f46956a6911546c10bd.tar.gz
Initial addition, used by sablevm ATM.
Diffstat (limited to 'devel/libffi')
-rw-r--r--devel/libffi/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/libffi/buildlink3.mk b/devel/libffi/buildlink3.mk
new file mode 100644
index 00000000000..74499c22e35
--- /dev/null
+++ b/devel/libffi/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/28 20:46:52 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBFFI_BUILDLINK3_MK:= ${LIBFFI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libffi
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibffi}
+BUILDLINK_PACKAGES+= libffi
+
+.if !empty(LIBFFI_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libffi+= libffi>=1.20
+BUILDLINK_PKGSRCDIR.libffi?= ../../devel/libffi
+.endif # LIBFFI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}