summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authormarkd <markd>2008-06-04 13:12:20 +0000
committermarkd <markd>2008-06-04 13:12:20 +0000
commit290e23dda24e65ede63523c1d4519735c888646f (patch)
treeb1bc057d7374e57b71922f4988978e2f6e5346bf /lang
parentec4c882c040f7f5114cbaa4c6b2d279bdb376c9b (diff)
downloadpkgsrc-290e23dda24e65ede63523c1d4519735c888646f.tar.gz
Add a buildlink3.mk.
Diffstat (limited to 'lang')
-rw-r--r--lang/g95/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/g95/buildlink3.mk b/lang/g95/buildlink3.mk
new file mode 100644
index 00000000000..2f1807c4771
--- /dev/null
+++ b/lang/g95/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/06/04 13:12:20 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+G95_BUILDLINK3_MK:= ${G95_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= g95
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ng95}
+BUILDLINK_PACKAGES+= g95
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}g95
+
+.if ${G95_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.g95+= g95>=0.91
+BUILDLINK_PKGSRCDIR.g95?= ../../lang/g95
+.endif # G95_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}