pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math From now on use buildlink3.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4300068225ae
branches:  trunk
changeset: 469662:4300068225ae
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 26 15:26:05 2004 +0000

description:
>From now on use buildlink3.mk

diffstat:

 math/blas/Makefile        |   4 ++--
 math/blas/buildlink3.mk   |  22 ++++++++++++++++++++++
 math/lapack/Makefile      |   4 ++--
 math/lapack/buildlink3.mk |  22 ++++++++++++++++++++++
 4 files changed, 48 insertions(+), 4 deletions(-)

diffs (88 lines):

diff -r 4d18472e59fa -r 4300068225ae math/blas/Makefile
--- a/math/blas/Makefile        Thu Feb 26 15:11:53 2004 +0000
+++ b/math/blas/Makefile        Thu Feb 26 15:26:05 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/20 12:20:04 agc Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/26 15:26:05 adam Exp $
 #
 
 DISTNAME=      blas
@@ -15,7 +15,7 @@
 COMMENT=       Basic Linear Algebra Subprograms (Fortran)
 
 WRKSRC=                        ${WRKDIR}
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_FORTRAN=           YES
 USE_LIBTOOL=           YES
 
diff -r 4d18472e59fa -r 4300068225ae math/blas/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/blas/buildlink3.mk   Thu Feb 26 15:26:05 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/26 15:26:05 adam Exp $
+#
+# This Makefile fragment is included by packages that use blas.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+BLAS_BUILDLINK3_MK:=   ${BLAS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    blas
+.endif
+
+.if !empty(BLAS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   blas
+BUILDLINK_DEPENDS.blas+=               blas>=1.0nb2
+BUILDLINK_PKGSRCDIR.blas?=             ../../math/blas
+
+.endif # BLAS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 4d18472e59fa -r 4300068225ae math/lapack/Makefile
--- a/math/lapack/Makefile      Thu Feb 26 15:11:53 2004 +0000
+++ b/math/lapack/Makefile      Thu Feb 26 15:26:05 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/01/20 12:20:05 agc Exp $
+# $NetBSD: Makefile,v 1.13 2004/02/26 15:26:29 adam Exp $
 #
 
 DISTNAME=      lapack
@@ -18,7 +18,7 @@
 
 WRKSRC=                        ${WRKDIR}/LAPACK
 DIST_SUBDIR=           lapack-20010201
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_FORTRAN=           YES
 USE_LIBTOOL=           YES
 ALL_TARGET=            lapacklib
diff -r 4d18472e59fa -r 4300068225ae math/lapack/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapack/buildlink3.mk Thu Feb 26 15:26:05 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/26 15:26:29 adam Exp $
+#
+# This Makefile fragment is included by packages that use lapack.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LAPACK_BUILDLINK3_MK:= ${LAPACK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    lapack
+.endif
+
+.if !empty(LAPACK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   lapack
+BUILDLINK_DEPENDS.lapack+=             lapack>=20010201nb1
+BUILDLINK_PKGSRCDIR.lapack?=           ../../math/lapack
+
+.endif # LAPACK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index