diff options
Diffstat (limited to 'math/pari')
-rw-r--r-- | math/pari/buildlink2.mk | 21 | ||||
-rw-r--r-- | math/pari/buildlink3.mk | 19 |
2 files changed, 19 insertions, 21 deletions
diff --git a/math/pari/buildlink2.mk b/math/pari/buildlink2.mk deleted file mode 100644 index a5f3d06348e..00000000000 --- a/math/pari/buildlink2.mk +++ /dev/null @@ -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 --git a/math/pari/buildlink3.mk b/math/pari/buildlink3.mk new file mode 100644 index 00000000000..e12ca3a3694 --- /dev/null +++ b/math/pari/buildlink3.mk @@ -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/+$//} |