summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-11 18:26:34 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-11 18:26:34 +0000
commitf8537ca547aec7746d735871ad85e7928b2021a3 (patch)
treedcc6027c4289d599f071629a9ae801da0ba84bea /x11
parent2e24dc8a389756694ff23f04165b4f1fe9b647e6 (diff)
downloadpkgsrc-f8537ca547aec7746d735871ad85e7928b2021a3.tar.gz
bl3ify
Diffstat (limited to 'x11')
-rw-r--r--x11/lesstif/Makefile4
-rw-r--r--x11/lesstif/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile
index b3d778f69f4..8164d12f654 100644
--- a/x11/lesstif/Makefile
+++ b/x11/lesstif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2004/03/20 00:48:36 snj Exp $
+# $NetBSD: Makefile,v 1.71 2004/04/11 18:26:34 xtraeme Exp $
DISTNAME= lesstif-0.93.94
CATEGORIES= x11
@@ -11,7 +11,7 @@ COMMENT= API compatible clone of the OSF/Motif toolkit
CONFLICTS+= openmotif-[0-9]*
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11BASE= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
diff --git a/x11/lesstif/buildlink3.mk b/x11/lesstif/buildlink3.mk
new file mode 100644
index 00000000000..83929eecee2
--- /dev/null
+++ b/x11/lesstif/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 18:26:34 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LESSTIF_BUILDLINK3_MK:= ${LESSTIF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= lesstif
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlesstif}
+BUILDLINK_PACKAGES+= lesstif
+
+.if !empty(LESSTIF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.lesstif+= lesstif>=0.91.4
+BUILDLINK_PKGSRCDIR.lesstif?= ../../x11/lesstif
+.endif # LESSTIF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}