summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-09 20:56:35 +0000
committerminskim <minskim@pkgsrc.org>2004-03-09 20:56:35 +0000
commit975059a73bd8689ee13868b88f4ac0695ef17822 (patch)
treeba3b876602175d55c905c4b5c2af1922bd7f65fc
parent79c1a3153e254defd9b86983dcb3e54c27e07d6b (diff)
downloadpkgsrc-975059a73bd8689ee13868b88f4ac0695ef17822.tar.gz
bl3ify gconfmm and define USE_LANGUAGES=c c++. Also add required
gtkmm/buildlink3.mk.
-rw-r--r--devel/gconfmm/Makefile13
-rw-r--r--x11/gtkmm/buildlink3.mk22
2 files changed, 29 insertions, 6 deletions
diff --git a/devel/gconfmm/Makefile b/devel/gconfmm/Makefile
index c70d8181c1d..70696179310 100644
--- a/devel/gconfmm/Makefile
+++ b/devel/gconfmm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/02/14 18:26:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2004/03/09 20:56:35 minskim Exp $
#
DISTNAME= gconfmm-2.0.1
@@ -11,15 +11,16 @@ HOMEPAGE= http://www.gtkmm.org/
COMMENT= C++ interface to GConf2
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
USE_GNU_TOOLS+= make
+USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE= gconf/gconfmm-2.0.pc.in
PKGCONFIG_OVERRIDE+= gconf/gconfmm-2.0-uninstalled.pc.in
-.include "../../devel/GConf2/buildlink2.mk"
-.include "../../devel/libsigc++/buildlink2.mk"
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../x11/gtkmm/buildlink2.mk"
+.include "../../devel/GConf2/buildlink3.mk"
+.include "../../devel/libsigc++/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gtkmm/buildlink3.mk b/x11/gtkmm/buildlink3.mk
new file mode 100644
index 00000000000..8bfbc3d2c19
--- /dev/null
+++ b/x11/gtkmm/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/09 20:56:35 minskim 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+= gtkmm>=2.2.8nb2
+BUILDLINK_PKGSRCDIR.gtkmm?= ../../x11/gtkmm
+
+.include "../../devel/libsigc++/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.endif # GTKMM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}