From e75467538520c5deb521e193d7f5d1abf2c07422 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sun, 11 Apr 2004 18:21:32 +0000 Subject: bl3ify --- x11/openmotif/Makefile | 4 ++-- x11/openmotif/buildlink3.mk | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 x11/openmotif/buildlink3.mk diff --git a/x11/openmotif/Makefile b/x11/openmotif/Makefile index 109c881297b..6e531cfabf9 100644 --- a/x11/openmotif/Makefile +++ b/x11/openmotif/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2004/02/02 23:10:29 xtraeme Exp $ +# $NetBSD: Makefile,v 1.26 2004/04/11 18:21:32 xtraeme Exp $ # FreeBSD: /c/ncvs/ports/x11-toolkits/open-motif/Makefile,v 1.18 2000/10/09 01:40:02 asami Exp # OpenBSD: Makefile,v 1.5 2000/10/23 16:08:12 espie Exp @@ -25,7 +25,7 @@ CONFLICTS+= lesstif-[0-9]* WRKSRC= ${WRKDIR}/motif DIST_SUBDIR= openmotif USE_X11BASE= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_PKGINSTALL= yes ALL_TARGET= World diff --git a/x11/openmotif/buildlink3.mk b/x11/openmotif/buildlink3.mk new file mode 100644 index 00000000000..a129412078a --- /dev/null +++ b/x11/openmotif/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 18:21:33 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +OPENMOTIF_BUILDLINK3_MK:= ${OPENMOTIF_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= openmotif +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenmotif} +BUILDLINK_PACKAGES+= openmotif + +.if !empty(OPENMOTIF_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.openmotif+= openmotif>=2.1.30 +BUILDLINK_PKGSRCDIR.openmotif?= ../../x11/openmotif +.endif # OPENMOTIF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3