pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/superlu Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/434d2df6e03f
branches: trunk
changeset: 474132:434d2df6e03f
user: snj <snj%pkgsrc.org@localhost>
date: Sun Apr 25 21:38:03 2004 +0000
description:
Convert to buildlink3.
diffstat:
math/superlu/buildlink2.mk | 26 --------------------------
math/superlu/buildlink3.mk | 19 +++++++++++++++++++
2 files changed, 19 insertions(+), 26 deletions(-)
diffs (53 lines):
diff -r f8347d3ad1f4 -r 434d2df6e03f math/superlu/buildlink2.mk
--- a/math/superlu/buildlink2.mk Sun Apr 25 21:37:59 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/01/28 01:15:45 uebayasi Exp $
-#
-# This Makefile fragment is included by packages that use superlu.
-#
-
-.if !defined(SUPERLU_BUILDLINK2_MK)
-SUPERLU_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= superlu
-BUILDLINK_DEPENDS.superlu?= superlu>=2.0nb2
-BUILDLINK_PKGSRCDIR.superlu?= ../../math/superlu
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.superlu=superlu
-BUILDLINK_PREFIX.superlu_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.superlu+= include/superlu/*.h
-BUILDLINK_FILES.superlu+= lib/libsuperlu.*
-
-# Users need to manually set
-# CPPFLAGS+= ${BUILDLINK_CPPFLAGS.superlu}
-BUILDLINK_CPPFLAGS.superlu+= -I${BUILDLINK_PREFIX.superlu}/include/superlu
-
-BUILDLINK_TARGETS+= superlu-buildlink
-
-superlu-buildlink: _BUILDLINK_USE
-
-.endif # SUPERLU_BUILDLINK2_MK
diff -r f8347d3ad1f4 -r 434d2df6e03f math/superlu/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/superlu/buildlink3.mk Sun Apr 25 21:38:03 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 21:38:03 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SUPERLU_BUILDLINK3_MK:= ${SUPERLU_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= superlu
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsuperlu}
+BUILDLINK_PACKAGES+= superlu
+
+.if !empty(SUPERLU_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.superlu+= superlu>=2.0nb2
+BUILDLINK_PKGSRCDIR.superlu?= ../../math/superlu
+BUILDLINK_DEPMETHOD.superlu?= build
+.endif # SUPERLU_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index