summaryrefslogtreecommitdiff
path: root/math/lapack
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 /math/lapack
parent290e3fb72772d2c0d075e31e5fb322c94e4f4ee3 (diff)
downloadpkgsrc-404e1dd2236111fc8910d457ca29e935b00b54ba.tar.gz
From now on use buildlink3.mk
Diffstat (limited to 'math/lapack')
-rw-r--r--math/lapack/Makefile4
-rw-r--r--math/lapack/buildlink3.mk22
2 files changed, 24 insertions, 2 deletions
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/+$//}