summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-11 18:36:55 +0000
committerxtraeme <xtraeme>2004-04-11 18:36:55 +0000
commitdd6e74b28ea5ca828003ee00db90e6df36a31b94 (patch)
tree31221a85e15cc0535a7eabdaa62c900c76bb2bb3
parent267fcbf240169e414ca2102ee7e6ae827d3314e8 (diff)
downloadpkgsrc-dd6e74b28ea5ca828003ee00db90e6df36a31b94.tar.gz
bl3ify
-rw-r--r--x11/lesstif12/Makefile4
-rw-r--r--x11/lesstif12/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/x11/lesstif12/Makefile b/x11/lesstif12/Makefile
index 1acfc10eb3e..bbece6d74c3 100644
--- a/x11/lesstif12/Makefile
+++ b/x11/lesstif12/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/03/20 01:39:30 snj Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/11 18:36:55 xtraeme Exp $
PKGNAME= lesstif12-${LESSTIF_VERSION}
@@ -8,7 +8,7 @@ CONFLICTS+= lesstif-0.[0-8]*
CONFLICTS+= lesstif-0.90*
CONFLICTS+= lesstif-0.91 lesstif-0.91.[0-3]
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
.include "./Makefile.common"
diff --git a/x11/lesstif12/buildlink3.mk b/x11/lesstif12/buildlink3.mk
new file mode 100644
index 00000000000..c07bf628f70
--- /dev/null
+++ b/x11/lesstif12/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 18:36:55 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LESSTIF12_BUILDLINK3_MK:= ${LESSTIF12_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= lesstif12
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlesstif12}
+BUILDLINK_PACKAGES+= lesstif12
+
+.if !empty(LESSTIF12_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.lesstif12+= lesstif12>=0.91.4
+BUILDLINK_PKGSRCDIR.lesstif12?= ../../x11/lesstif12
+.endif # LESSTIF12_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}