pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/slatec Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/545f2fa3f17a
branches: trunk
changeset: 472902:545f2fa3f17a
user: snj <snj%pkgsrc.org@localhost>
date: Tue Apr 13 23:19:24 2004 +0000
description:
Convert to buildlink3.
diffstat:
math/slatec/Makefile | 4 ++--
math/slatec/buildlink2.mk | 18 ------------------
math/slatec/buildlink3.mk | 18 ++++++++++++++++++
3 files changed, 20 insertions(+), 20 deletions(-)
diffs (62 lines):
diff -r 291268f4c673 -r 545f2fa3f17a math/slatec/Makefile
--- a/math/slatec/Makefile Tue Apr 13 22:48:41 2004 +0000
+++ b/math/slatec/Makefile Tue Apr 13 23:19:24 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/04/13 23:19:24 snj Exp $
#
DISTNAME= slatec_src
@@ -17,7 +17,7 @@
COMMENT= Library of mathematical and statistical Fortran 77 subroutines
WRKSRC= ${WRKDIR}/src
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_FORTRAN= YES
USE_LIBTOOL= YES
diff -r 291268f4c673 -r 545f2fa3f17a math/slatec/buildlink2.mk
--- a/math/slatec/buildlink2.mk Tue Apr 13 22:48:41 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/12/04 15:10:48 adam Exp $
-
-.if !defined(SLATEC_BUILDLINK2_MK)
-SLATEC_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= slatec
-BUILDLINK_DEPENDS.slatec?= slatec>=4.1nb1
-BUILDLINK_PKGSRCDIR.slatec?= ../../math/slatec
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.slatec=slatec
-BUILDLINK_PREFIX.slatec_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.slatec= lib/libslatec*
-
-BUILDLINK_TARGETS+= slatec-buildlink
-
-slatec-buildlink: _BUILDLINK_USE
-
-.endif # SLATEC_BUILDLINK2_MK
diff -r 291268f4c673 -r 545f2fa3f17a math/slatec/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/slatec/buildlink3.mk Tue Apr 13 23:19:24 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 23:19:24 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SLATEC_BUILDLINK3_MK:= ${SLATEC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= slatec
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nslatec}
+BUILDLINK_PACKAGES+= slatec
+
+.if !empty(SLATEC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.slatec+= slatec>=4.1nb1
+BUILDLINK_PKGSRCDIR.slatec?= ../../math/slatec
+.endif # SLATEC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index