summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-02-26 15:26:05 +0000
committeradam <adam@pkgsrc.org>2004-02-26 15:26:05 +0000
commit404e1dd2236111fc8910d457ca29e935b00b54ba (patch)
tree86c5dfb3aa897e5c19eb0f33daeb72c78ab8337f
parent290e3fb72772d2c0d075e31e5fb322c94e4f4ee3 (diff)
downloadpkgsrc-404e1dd2236111fc8910d457ca29e935b00b54ba.tar.gz
From now on use buildlink3.mk
-rw-r--r--math/blas/Makefile4
-rw-r--r--math/blas/buildlink3.mk22
-rw-r--r--math/lapack/Makefile4
-rw-r--r--math/lapack/buildlink3.mk22
4 files changed, 48 insertions, 4 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile
index de6a90dc785..34d7b76fd33 100644
--- a/math/blas/Makefile
+++ b/math/blas/Makefile
@@ -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 @@ HOMEPAGE= http://www.netlib.org/blas/
COMMENT= Basic Linear Algebra Subprograms (Fortran)
WRKSRC= ${WRKDIR}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_FORTRAN= YES
USE_LIBTOOL= YES
diff --git a/math/blas/buildlink3.mk b/math/blas/buildlink3.mk
new file mode 100644
index 00000000000..ba4ad4b5da2
--- /dev/null
+++ b/math/blas/buildlink3.mk
@@ -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 --git a/math/lapack/Makefile b/math/lapack/Makefile
index 1b3d3656ed1..318e8e38cdd 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -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 @@ COMMENT= Linear Algebra PACKage
WRKSRC= ${WRKDIR}/LAPACK
DIST_SUBDIR= lapack-20010201
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_FORTRAN= YES
USE_LIBTOOL= YES
ALL_TARGET= lapacklib
diff --git a/math/lapack/buildlink3.mk b/math/lapack/buildlink3.mk
new file mode 100644
index 00000000000..dd46365f1bd
--- /dev/null
+++ b/math/lapack/buildlink3.mk
@@ -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/+$//}