summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-19 13:15:52 +0000
committerjlam <jlam>2004-01-19 13:15:52 +0000
commit265b3ec8af5085fbeebc9bcef4c842931e48890b (patch)
tree7fcaec6c9a1e92602f15b69f529420e5684327f5 /devel
parentcedf66e3c1409851547f2177168d27d80a9166f1 (diff)
downloadpkgsrc-265b3ec8af5085fbeebc9bcef4c842931e48890b.tar.gz
bl3ify
Diffstat (limited to 'devel')
-rw-r--r--devel/gmp/Makefile6
-rw-r--r--devel/gmp/buildlink3.mk17
2 files changed, 21 insertions, 2 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile
index 9fecb702456..d738897f575 100644
--- a/devel/gmp/Makefile
+++ b/devel/gmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/12/02 21:57:26 salo Exp $
+# $NetBSD: Makefile,v 1.25 2004/01/19 13:15:52 jlam Exp $
#
DISTNAME= gmp-4.1.2
@@ -9,7 +9,9 @@ MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gmp/gmp.html
COMMENT= Library for arbitrary precision arithmetic
-USE_BUILDLINK2= YES
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_GCC_SHLIB= YES
USE_LIBTOOL= YES
diff --git a/devel/gmp/buildlink3.mk b/devel/gmp/buildlink3.mk
new file mode 100644
index 00000000000..31abbc44875
--- /dev/null
+++ b/devel/gmp/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/19 13:15:52 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GMP_BUILDLINK3_MK:= ${GMP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gmp
+.endif
+
+.if !empty(GMP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gmp
+BUILDLINK_DEPENDS.gmp?= gmp>=4.1.2
+BUILDLINK_PKGSRCDIR.gmp?= ../../devel/gmp
+
+.endif # GMP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}