diff options
-rw-r--r-- | devel/libffi/buildlink3.mk | 18 |
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/+$//} |