summaryrefslogtreecommitdiff
path: root/math/ntl/buildlink3.mk
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-14 00:00:19 +0000
committersnj <snj@pkgsrc.org>2004-04-14 00:00:19 +0000
commit616d329c3f603c601ecd9f73b2a2d2d067883901 (patch)
treed8ab82498a740f1f7af97dfaafca7acccce9532c /math/ntl/buildlink3.mk
parenta1ef2152a76b95592ac5f38b1c17de80520336ea (diff)
downloadpkgsrc-616d329c3f603c601ecd9f73b2a2d2d067883901.tar.gz
Convert to buildlink3.
Diffstat (limited to 'math/ntl/buildlink3.mk')
-rw-r--r--math/ntl/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/ntl/buildlink3.mk b/math/ntl/buildlink3.mk
new file mode 100644
index 00000000000..c192d878dab
--- /dev/null
+++ b/math/ntl/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/14 00:00:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NTL_BUILDLINK3_MK:= ${NTL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ntl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nntl}
+BUILDLINK_PACKAGES+= ntl
+
+.if !empty(NTL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ntl+= ntl>=5.3.1
+BUILDLINK_PKGSRCDIR.ntl?= ../../math/ntl
+.endif # NTL_BUILDLINK3_MK
+
+.include "../../devel/gmp/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}