diff options
author | snj <snj@pkgsrc.org> | 2004-04-27 04:29:17 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-27 04:29:17 +0000 |
commit | c5aca300efbd1c2f2b897a99cbfff9f5bf4cbeff (patch) | |
tree | ed318d3883e329209f4dc9ba0afe5fdb86d9bbc8 /devel/rvm | |
parent | af4426af25ea680d0cbdfec06db770f8bea71382 (diff) | |
download | pkgsrc-c5aca300efbd1c2f2b897a99cbfff9f5bf4cbeff.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'devel/rvm')
-rw-r--r-- | devel/rvm/Makefile | 6 | ||||
-rw-r--r-- | devel/rvm/buildlink2.mk | 25 | ||||
-rw-r--r-- | devel/rvm/buildlink3.mk | 20 |
3 files changed, 23 insertions, 28 deletions
diff --git a/devel/rvm/Makefile b/devel/rvm/Makefile index 73f687c99a2..5ae9d01ad0f 100644 --- a/devel/rvm/Makefile +++ b/devel/rvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/02/14 17:21:39 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2004/04/27 04:29:17 snj Exp $ # DISTNAME= rvm-1.8 @@ -10,7 +10,7 @@ MAINTAINER= phil@cs.wwu.edu HOMEPAGE= http://www.coda.cs.cmu.edu/ COMMENT= Recoverable Virtual Memory -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_LIBTOOL= YES @@ -23,5 +23,5 @@ pre-build: ${LN} -sf $${file} `${BASENAME} $${file} .c`_lwp.c; \ done -.include "../../devel/lwp/buildlink2.mk" +.include "../../devel/lwp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/rvm/buildlink2.mk b/devel/rvm/buildlink2.mk deleted file mode 100644 index a01204585ff..00000000000 --- a/devel/rvm/buildlink2.mk +++ /dev/null @@ -1,25 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:49 jlam Exp $ - -.if !defined(RVM_BUILDLINK2_MK) -RVM_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= rvm -BUILDLINK_DEPENDS.rvm?= rvm>=1.3 -BUILDLINK_PKGSRCDIR.rvm?= ../../devel/rvm - -EVAL_PREFIX+= BUILDLINK_PREFIX.rvm=rvm -BUILDLINK_PREFIX.rvm_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.rvm= include/rvm/* -BUILDLINK_FILES.rvm+= lib/librds.* -BUILDLINK_FILES.rvm+= lib/librdslwp.* -BUILDLINK_FILES.rvm+= lib/librvm.* -BUILDLINK_FILES.rvm+= lib/librvmlwp.* -BUILDLINK_FILES.rvm+= lib/libseg.* - -.include "../../devel/lwp/buildlink2.mk" - -BUILDLINK_TARGETS+= rvm-buildlink - -rvm-buildlink: _BUILDLINK_USE - -.endif # RVM_BUILDLINK2_MK diff --git a/devel/rvm/buildlink3.mk b/devel/rvm/buildlink3.mk new file mode 100644 index 00000000000..88c9a8aaadf --- /dev/null +++ b/devel/rvm/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 04:29:17 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +RVM_BUILDLINK3_MK:= ${RVM_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= rvm +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrvm} +BUILDLINK_PACKAGES+= rvm + +.if !empty(RVM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.rvm+= rvm>=1.3 +BUILDLINK_PKGSRCDIR.rvm?= ../../devel/rvm +.endif # RVM_BUILDLINK3_MK + +.include "../../devel/lwp/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |