pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gmp bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/839cc6f30cda
branches:  trunk
changeset: 466491:839cc6f30cda
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jan 19 13:15:52 2004 +0000

description:
bl3ify

diffstat:

 devel/gmp/Makefile      |   6 ++++--
 devel/gmp/buildlink3.mk |  17 +++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r f0a2bfb5a0d2 -r 839cc6f30cda devel/gmp/Makefile
--- a/devel/gmp/Makefile        Mon Jan 19 13:07:48 2004 +0000
+++ b/devel/gmp/Makefile        Mon Jan 19 13:15:52 2004 +0000
@@ -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 @@
 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 -r f0a2bfb5a0d2 -r 839cc6f30cda devel/gmp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gmp/buildlink3.mk   Mon Jan 19 13:15:52 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index