diff options
author | snj <snj@pkgsrc.org> | 2004-04-13 23:19:24 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-13 23:19:24 +0000 |
commit | e2398dc5173a3b2725cafa528328bd509c6a700d (patch) | |
tree | 35489af9b82670a45d83e328caad7d566bbd5d33 /math | |
parent | 0f312c17dcd9a9cedac55611702cb33550dd6f9f (diff) | |
download | pkgsrc-e2398dc5173a3b2725cafa528328bd509c6a700d.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'math')
-rw-r--r-- | math/slatec/Makefile | 4 | ||||
-rw-r--r-- | math/slatec/buildlink2.mk | 18 | ||||
-rw-r--r-- | math/slatec/buildlink3.mk | 18 |
3 files changed, 20 insertions, 20 deletions
diff --git a/math/slatec/Makefile b/math/slatec/Makefile index 1735717898e..f47ec56ec52 100644 --- a/math/slatec/Makefile +++ b/math/slatec/Makefile @@ -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 @@ HOMEPAGE= http://www.netlib.org/slatec/ 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 --git a/math/slatec/buildlink2.mk b/math/slatec/buildlink2.mk deleted file mode 100644 index 90d5272ff3e..00000000000 --- a/math/slatec/buildlink2.mk +++ /dev/null @@ -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 --git a/math/slatec/buildlink3.mk b/math/slatec/buildlink3.mk new file mode 100644 index 00000000000..80314797ca3 --- /dev/null +++ b/math/slatec/buildlink3.mk @@ -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/+$//} |