summaryrefslogtreecommitdiff
path: root/devel/gmp
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-27 06:23:53 +0000
committerjlam <jlam>2002-08-27 06:23:53 +0000
commita7637155df06b3463313789b08cd47be9d5e6b44 (patch)
treef365410b16cd485ca57b71d8375e2c22e8c8e67c /devel/gmp
parentdae5b763aa815c822030c699aef3621cc3a52796 (diff)
downloadpkgsrc-a7637155df06b3463313789b08cd47be9d5e6b44.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