summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-26 22:07:06 +0000
committersnj <snj@pkgsrc.org>2004-04-26 22:07:06 +0000
commit820e439a9a3dca428857b86f83a228814fc24328 (patch)
tree04312bca1575c04c046dd1018226e2c4dd1383be /x11
parent263d305dcdba2a10a1bb60947a15c366de04b3d6 (diff)
downloadpkgsrc-820e439a9a3dca428857b86f83a228814fc24328.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome--/Makefile10
-rw-r--r--x11/gnome--/buildlink2.mk28
-rw-r--r--x11/gnome--/buildlink3.mk22
-rw-r--r--x11/gtk--/Makefile8
-rw-r--r--x11/gtk--/buildlink3.mk21
-rw-r--r--x11/gtk--/distinfo3
-rw-r--r--x11/gtk--/patches/patch-ab13
7 files changed, 67 insertions, 38 deletions
diff --git a/x11/gnome--/Makefile b/x11/gnome--/Makefile
index 266ff1bc377..e19b4a91aca 100644
--- a/x11/gnome--/Makefile
+++ b/x11/gnome--/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/02/14 17:21:55 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2004/04/26 22:07:06 snj Exp $
#
DISTNAME= gnomemm-1.2.4
@@ -16,10 +16,10 @@ USE_PERL5= build
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
USE_X11BASE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
REPLACE_PERL= docgen/pce2
-.include "../../devel/libsigc++10/buildlink2.mk"
-.include "../../x11/gnome-libs/buildlink2.mk"
-.include "../../x11/gtk--/buildlink2.mk"
+.include "../../devel/libsigc++10/buildlink3.mk"
+.include "../../x11/gnome-libs/buildlink3.mk"
+.include "../../x11/gtk--/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome--/buildlink2.mk b/x11/gnome--/buildlink2.mk
deleted file mode 100644
index 38f77e43e98..00000000000
--- a/x11/gnome--/buildlink2.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.9 2004/03/29 05:05:48 jlam Exp $
-
-.if !defined(GNOMEMM_BUILDLINK2_MK)
-GNOMEMM_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= gnomemm
-BUILDLINK_PKGBASE.gnomemm?= gnome--
-BUILDLINK_DEPENDS.gnomemm?= gnome-->=1.2.4nb1
-BUILDLINK_PKGSRCDIR.gnomemm?= ../../x11/gnome--
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.gnomemm=gnome--
-BUILDLINK_PREFIX.gnomemm_DEFAULT= ${X11PREFIX}
-
-BUILDLINK_FILES.gnomemm= include/gnome--/private/*
-BUILDLINK_FILES.gnomemm+= include/gnome--/*
-BUILDLINK_FILES.gnomemm+= include/gnome--.h
-BUILDLINK_FILES.gnomemm+= lib/libgnomemm-1.1.*
-BUILDLINK_FILES.gnomemm+= lib/libgnomemm.*
-
-.include "../../devel/libsigc++10/buildlink2.mk"
-.include "../../x11/gnome-libs/buildlink2.mk"
-.include "../../x11/gtk--/buildlink2.mk"
-
-BUILDLINK_TARGETS+= gnomemm-buildlink
-
-gnomemm-buildlink: _BUILDLINK_USE
-
-.endif # GNOMEMM_BUILDLINK2_MK
diff --git a/x11/gnome--/buildlink3.mk b/x11/gnome--/buildlink3.mk
new file mode 100644
index 00000000000..bf5b704035d
--- /dev/null
+++ b/x11/gnome--/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/26 22:07:06 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNOMEMM_BUILDLINK3_MK:= ${GNOMEMM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnomemm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnomemm}
+BUILDLINK_PACKAGES+= gnomemm
+
+.if !empty(GNOMEMM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnomemm+= gnome-->=1.2.4nb1
+BUILDLINK_PKGSRCDIR.gnomemm?= ../../x11/gnome--
+.endif # GNOMEMM_BUILDLINK3_MK
+
+.include "../../devel/libsigc++10/buildlink3.mk"
+.include "../../x11/gnome-libs/buildlink3.mk"
+.include "../../x11/gtk--/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/gtk--/Makefile b/x11/gtk--/Makefile
index b71c61ea4b7..c4e00ddf457 100644
--- a/x11/gtk--/Makefile
+++ b/x11/gtk--/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2004/02/14 17:21:55 jlam Exp $
+# $NetBSD: Makefile,v 1.35 2004/04/26 22:07:06 snj Exp $
#
DISTNAME= gtkmm-1.2.10
@@ -14,7 +14,7 @@ COMMENT= C++ wrapper for GTK+
USE_X11BASE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_PERL5= build
USE_GNU_TOOLS+= m4 make
@@ -28,6 +28,6 @@ post-install:
${LN} -fs ${PREFIX}/share/aclocal/gtk--.m4 \
${LOCALBASE}/share/aclocal/gtk--.m4
-.include "../../devel/libsigc++10/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../devel/libsigc++10/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gtk--/buildlink3.mk b/x11/gtk--/buildlink3.mk
new file mode 100644
index 00000000000..50e6c5c480a
--- /dev/null
+++ b/x11/gtk--/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/26 22:07:06 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GTKMM_BUILDLINK3_MK:= ${GTKMM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gtkmm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkmm}
+BUILDLINK_PACKAGES+= gtkmm
+
+.if !empty(GTKMM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gtkmm+= gtk-->=1.2.10nb3
+BUILDLINK_PKGSRCDIR.gtkmm?= ../../x11/gtk--
+.endif # GTKMM_BUILDLINK3_MK
+
+.include "../../devel/libsigc++10/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/gtk--/distinfo b/x11/gtk--/distinfo
index 388b3586c12..dfc944a48f7 100644
--- a/x11/gtk--/distinfo
+++ b/x11/gtk--/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2002/10/27 13:34:59 bouyer Exp $
+$NetBSD: distinfo,v 1.7 2004/04/26 22:07:06 snj Exp $
SHA1 (gtkmm-1.2.10.tar.gz) = fb220aa8bdb609b7ead42fac1afbbbf57031fb2a
Size (gtkmm-1.2.10.tar.gz) = 716700 bytes
SHA1 (patch-aa) = f23a20f6fa3912d9d1a743363de0fcaf8c69818d
+SHA1 (patch-ab) = 42c8a11cf88e105290dac40d9d2de75c02afb93c
SHA1 (patch-ag) = de2719b25d41927b52f2de7bf5ee1a4720c34e26
SHA1 (patch-ah) = 5bd15cf450b81c6bc6f73e9f5f0ccd1700e5c626
SHA1 (patch-ai) = d9c3a26edf0dd0baca519b5477f09ba267fbebd5
diff --git a/x11/gtk--/patches/patch-ab b/x11/gtk--/patches/patch-ab
new file mode 100644
index 00000000000..95945f42546
--- /dev/null
+++ b/x11/gtk--/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2004/04/26 22:07:06 snj Exp $
+
+--- src/gtkmmproc/Makefile.in.orig 2004-04-26 14:30:13.000000000 -0700
++++ src/gtkmmproc/Makefile.in 2004-04-26 14:30:30.000000000 -0700
+@@ -113,7 +113,7 @@ m4include_HEADERS = doc1.m4 stage1.m4 co
+
+ YFLAGS = -d
+ CXXFLAGS =
+-CPPFLAGS = -D MACRO_DIR=\"$(m4includedir)\" -D M4=\"@M4@\"
++CPPFLAGS = -DMACRO_DIR=\"$(m4includedir)\" -DM4=\"@M4@\"
+ mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
+ CONFIG_HEADER = ../../config.h ../../gdk--config.h ../../gtk--config.h
+ CONFIG_CLEAN_FILES =