From ae152d91d5261e39017683780f7d23929cbdeb66 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 Feb 2004 16:48:11 +0000 Subject: bl3ify --- devel/rx/Makefile | 4 ++-- devel/rx/buildlink3.mk | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 devel/rx/buildlink3.mk (limited to 'devel') diff --git a/devel/rx/Makefile b/devel/rx/Makefile index d8f1e8f4a16..4823870b5a7 100644 --- a/devel/rx/Makefile +++ b/devel/rx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/08/09 10:44:49 seb Exp $ +# $NetBSD: Makefile,v 1.13 2004/02/22 16:48:11 minskim Exp $ DISTNAME= rx-1.5 CATEGORIES= devel @@ -9,7 +9,7 @@ MAINTAINER= jlam@NetBSD.org HOMEPAGE= http://www.gnu.org/software/rx/rx.html COMMENT= Fast replacement for the GNU regex library -USE_BUILDLINK2= # defined +USE_BUILDLINK3= # defined USE_LIBTOOL= # defined GNU_CONFIGURE= # defined diff --git a/devel/rx/buildlink3.mk b/devel/rx/buildlink3.mk new file mode 100644 index 00000000000..b7da5268914 --- /dev/null +++ b/devel/rx/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 16:48:11 minskim Exp $ +# +# This Makefile fragment is included by packages that use rx. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +RX_BUILDLINK3_MK:= ${RX_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= rx +.endif + +.if !empty(RX_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= rx +BUILDLINK_DEPENDS.rx+= rx>=1.5 +BUILDLINK_PKGSRCDIR.rx?= ../../devel/rx + +.endif # RX_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3