summaryrefslogtreecommitdiff
path: root/devel/gmp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-27 06:23:53 +0000
committerjlam <jlam@pkgsrc.org>2002-08-27 06:23:53 +0000
commit08fc1a448cfbb8d3d811ab383cc2c19b41449c9a (patch)
treef365410b16cd485ca57b71d8375e2c22e8c8e67c /devel/gmp
parentd0c4a8cc51832abc64241532f5535e4559b4e1bb (diff)
downloadpkgsrc-08fc1a448cfbb8d3d811ab383cc2c19b41449c9a.tar.gz
Add a buildlink2.mk based on the existing buildlink.mk one.
Diffstat (limited to 'devel/gmp')
-rw-r--r--devel/gmp/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/gmp/buildlink2.mk b/devel/gmp/buildlink2.mk
new file mode 100644
index 00000000000..00e9b1cae46
--- /dev/null
+++ b/devel/gmp/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/08/27 06:23:53 jlam Exp $
+
+.if !defined(GMP_BUILDLINK2_MK)
+GMP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gmp
+BUILDLINK_DEPENDS.gmp?= gmp>=4.1
+BUILDLINK_PKGSRCDIR.gmp?= ../../devel/gmp
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gmp=gmp
+BUILDLINK_PREFIX.gmp_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gmp= include/gmp.h
+BUILDLINK_FILES.gmp+= lib/libgmp.*
+
+BUILDLINK_TARGETS+= gmp-buildlink
+
+gmp-buildlink: _BUILDLINK_USE
+
+.endif # GMP_BUILDLINK2_MK