diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-19 13:15:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-19 13:15:52 +0000 |
commit | 5ae63b68fd3b845def869deff2a71b2fb0450693 (patch) | |
tree | 7fcaec6c9a1e92602f15b69f529420e5684327f5 /devel | |
parent | 472aeffaeb10548ff822b3e120f91ee4b5373327 (diff) | |
download | pkgsrc-5ae63b68fd3b845def869deff2a71b2fb0450693.tar.gz |
bl3ify
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gmp/Makefile | 6 | ||||
-rw-r--r-- | devel/gmp/buildlink3.mk | 17 |
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/+$//} |