pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/ntl Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/719a1225c23e
branches: trunk
changeset: 472905:719a1225c23e
user: snj <snj%pkgsrc.org@localhost>
date: Wed Apr 14 00:00:19 2004 +0000
description:
Convert to buildlink3.
diffstat:
math/ntl/Makefile | 6 +++---
math/ntl/buildlink2.mk | 19 -------------------
math/ntl/buildlink3.mk | 20 ++++++++++++++++++++
3 files changed, 23 insertions(+), 22 deletions(-)
diffs (66 lines):
diff -r d613fa7fe9fe -r 719a1225c23e math/ntl/Makefile
--- a/math/ntl/Makefile Tue Apr 13 23:32:17 2004 +0000
+++ b/math/ntl/Makefile Wed Apr 14 00:00:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/01/20 12:20:05 agc Exp $
+# $NetBSD: Makefile,v 1.15 2004/04/14 00:00:19 snj Exp $
DISTNAME= ntl-5.3.1
CATEGORIES= math devel
@@ -12,7 +12,7 @@
NO_CONFIGURE= # defined
USE_LIBTOOL= yes
MAKEFILE= makefile
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
-.include "../../devel/gmp/buildlink2.mk"
+.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r d613fa7fe9fe -r 719a1225c23e math/ntl/buildlink2.mk
--- a/math/ntl/buildlink2.mk Tue Apr 13 23:32:17 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/03/02 09:04:03 jtb Exp $
-
-.if !defined(NTL_BUILDLINK2_MK)
-NTL_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= ntl
-BUILDLINK_DEPENDS.ntl?= ntl>=5.3.1
-BUILDLINK_PKGSRCDIR.ntl?= ../../math/ntl
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.ntl=ntl
-BUILDLINK_PREFIX.ntl_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.ntl= include/NTL/*
-BUILDLINK_FILES.ntl+= lib/libntl.*
-
-BUILDLINK_TARGETS+= ntl-buildlink
-
-ntl-buildlink: _BUILDLINK_USE
-
-.endif # NTL_BUILDLINK2_MK
diff -r d613fa7fe9fe -r 719a1225c23e math/ntl/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ntl/buildlink3.mk Wed Apr 14 00:00:19 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/14 00:00:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NTL_BUILDLINK3_MK:= ${NTL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ntl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nntl}
+BUILDLINK_PACKAGES+= ntl
+
+.if !empty(NTL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ntl+= ntl>=5.3.1
+BUILDLINK_PKGSRCDIR.ntl?= ../../math/ntl
+.endif # NTL_BUILDLINK3_MK
+
+.include "../../devel/gmp/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index