summaryrefslogtreecommitdiff
path: root/x11/xview-lib
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-13 21:47:22 +0000
committersnj <snj@pkgsrc.org>2004-04-13 21:47:22 +0000
commit871ce6b998274044c8e2e1029da0bc537e39f41d (patch)
tree5518558692ed5f973a453e71ad8b2a4904c185d7 /x11/xview-lib
parenta6a9c45f1fea27e002a4dfcc026b2bda5f5260b5 (diff)
downloadpkgsrc-871ce6b998274044c8e2e1029da0bc537e39f41d.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11/xview-lib')
-rw-r--r--x11/xview-lib/Makefile4
-rw-r--r--x11/xview-lib/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/x11/xview-lib/Makefile b/x11/xview-lib/Makefile
index 8352bdb9ac5..1007986effb 100644
--- a/x11/xview-lib/Makefile
+++ b/x11/xview-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2003/07/17 22:57:06 grant Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/13 21:55:23 snj Exp $
# $FreeBSD Id: Makefile,v 1.13 1997/07/17 15:13:03 max Exp
#
@@ -17,7 +17,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
# builds, but binaries in../xview-clients all crash
NOT_FOR_PLATFORM= *-*-alpha
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_IMAKE= # defined
post-install:
diff --git a/x11/xview-lib/buildlink3.mk b/x11/xview-lib/buildlink3.mk
new file mode 100644
index 00000000000..8ba3e0e80af
--- /dev/null
+++ b/x11/xview-lib/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 21:55:23 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XVIEW_LIB_BUILDLINK3_MK:= ${XVIEW_LIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= xview-lib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxview-lib}
+BUILDLINK_PACKAGES+= xview-lib
+
+.if !empty(XVIEW_LIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.xview-lib+= xview-lib>=3.2.1
+BUILDLINK_PKGSRCDIR.xview-lib?= ../../x11/xview-lib
+.endif # XVIEW_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}