pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/pari Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d613fa7fe9fe
branches:  trunk
changeset: 472904:d613fa7fe9fe
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Apr 13 23:32:17 2004 +0000

description:
Convert to buildlink3.

diffstat:

 math/pari/buildlink2.mk |  21 ---------------------
 math/pari/buildlink3.mk |  19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 21 deletions(-)

diffs (48 lines):

diff -r 0faa1f16b21c -r d613fa7fe9fe math/pari/buildlink2.mk
--- a/math/pari/buildlink2.mk   Tue Apr 13 23:31:12 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.3 2004/03/26 02:27:45 wiz Exp $
-
-.if !defined(PARI_BUILDLINK2_MK)
-PARI_BUILDLINK2_MK=            # defined
-
-BUILDLINK_PACKAGES+=           pari
-BUILDLINK_DEPENDS.pari?=       pari>=2.1.5nb1
-BUILDLINK_RECOMMENDED.pari?=   pari>=2.1.5nb3
-BUILDLINK_PKGSRCDIR.pari?=     ../../math/pari
-BUILDLINK_DEPMETHOD.pari?=     build
-
-EVAL_PREFIX+=                  BUILDLINK_PREFIX.pari=pari
-BUILDLINK_PREFIX.pari_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pari=          include/pari/*
-BUILDLINK_FILES.pari+=         lib/libpari.*
-
-BUILDLINK_TARGETS+=            pari-buildlink
-
-pari-buildlink: _BUILDLINK_USE
-
-.endif # PARI_BUILDLINK2_MK
diff -r 0faa1f16b21c -r d613fa7fe9fe math/pari/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/pari/buildlink3.mk   Tue Apr 13 23:32:17 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 23:32:17 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+PARI_BUILDLINK3_MK:=   ${PARI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    pari
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npari}
+BUILDLINK_PACKAGES+=   pari
+
+.if !empty(PARI_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pari+=       pari>=2.1.5nb1
+BUILDLINK_RECOMMENDED.pari+=   pari>=2.1.5nb3
+BUILDLINK_PKGSRCDIR.pari?=     ../../math/pari
+.endif # PARI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index