summaryrefslogtreecommitdiff
path: root/x11/openmotif
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-11 18:21:32 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-11 18:21:32 +0000
commite9d9e77dcaa113eb88e3c10e2382d95d6e1b4281 (patch)
tree57d100588ed6e11d8bad0aed10740a924266a438 /x11/openmotif
parent219c55ee0ea87dac874d4ab1a2d99c7d812cfb15 (diff)
downloadpkgsrc-e9d9e77dcaa113eb88e3c10e2382d95d6e1b4281.tar.gz
bl3ify
Diffstat (limited to 'x11/openmotif')
-rw-r--r--x11/openmotif/Makefile4
-rw-r--r--x11/openmotif/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
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/+$//}