summaryrefslogtreecommitdiff
path: root/x11/gnome-libs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-22 13:32:32 +0000
committerjlam <jlam@pkgsrc.org>2004-01-22 13:32:32 +0000
commit245f2879c2e4d2016b2d44c0229f0cc7dde8b7fc (patch)
treed32e41935c419893ba0e863344b5f1d97f8e2bf2 /x11/gnome-libs
parentaff2a766f0efa95f2765d6b4f2e5bab2e7f4b88b (diff)
downloadpkgsrc-245f2879c2e4d2016b2d44c0229f0cc7dde8b7fc.tar.gz
bl3ify
Diffstat (limited to 'x11/gnome-libs')
-rw-r--r--x11/gnome-libs/Makefile18
-rw-r--r--x11/gnome-libs/buildlink3.mk24
2 files changed, 33 insertions, 9 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile
index 5e4c84a1686..0fe51143e71 100644
--- a/x11/gnome-libs/Makefile
+++ b/x11/gnome-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2004/01/03 18:49:56 reed Exp $
+# $NetBSD: Makefile,v 1.94 2004/01/22 13:32:32 jlam Exp $
DISTNAME= gnome-libs-1.4.2
PKGREVISION= 1
@@ -28,7 +28,7 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
X11BASE=${X11BASE} \
PKGLOCALEDIR=${PKGLOCALEDIR}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
USE_DB185= YES
@@ -62,12 +62,12 @@ post-install:
${LN} -fs ${PREFIX}/share/aclocal/libart.m4 \
${LOCALBASE}/share/aclocal/libart.m4
-.include "../../audio/esound/buildlink2.mk"
-.include "../../databases/db/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../graphics/imlib/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
-.include "../../net/ORBit/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../audio/esound/buildlink3.mk"
+.include "../../databases/db/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../graphics/imlib/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../net/ORBit/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome-libs/buildlink3.mk b/x11/gnome-libs/buildlink3.mk
new file mode 100644
index 00000000000..a6d452d22fc
--- /dev/null
+++ b/x11/gnome-libs/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/22 13:32:32 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNOME_LIBS_BUILDLINK3_MK:= ${GNOME_LIBS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnome-libs
+.endif
+
+.if !empty(GNOME_LIBS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gnome-libs
+BUILDLINK_DEPENDS.gnome-libs?= gnome-libs>=1.4.2nb1
+BUILDLINK_PKGSRCDIR.gnome-libs?= ../../x11/gnome-libs
+
+. include "../../audio/esound/buildlink3.mk"
+. include "../../databases/db/buildlink3.mk"
+. include "../../devel/gettext-lib/buildlink3.mk"
+. include "../../graphics/imlib/buildlink3.mk"
+. include "../../graphics/xpm/buildlink3.mk"
+. include "../../net/ORBit/buildlink3.mk"
+. include "../../x11/gtk/buildlink3.mk"
+.endif # GNOME_LIBS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}