summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2008-10-12 18:55:15 +0000
committerkefren <kefren@pkgsrc.org>2008-10-12 18:55:15 +0000
commitce53f766c97184b1ddc28021279ce26457a5e0af (patch)
treeb18c691fc33285131ded02a6fd6515b0562831b7 /x11
parent591f1c73849f2ccf0426fe56324a6a88c49ed657 (diff)
downloadpkgsrc-ce53f766c97184b1ddc28021279ce26457a5e0af.tar.gz
MAKE_JOBS_SAFE=no
Add buildlink3.mk file
Diffstat (limited to 'x11')
-rw-r--r--x11/p5-gtk2/Makefile4
-rw-r--r--x11/p5-gtk2/buildlink3.mk23
2 files changed, 26 insertions, 1 deletions
diff --git a/x11/p5-gtk2/Makefile b/x11/p5-gtk2/Makefile
index 6e8629cf359..925e87b0dfc 100644
--- a/x11/p5-gtk2/Makefile
+++ b/x11/p5-gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/06/12 02:14:57 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2008/10/12 18:55:15 kefren Exp $
DISTNAME= Gtk2-${DIST_VER}
PKGNAME= p5-gtk2-${DIST_VER}
@@ -11,6 +11,8 @@ COMMENT= Perl bindings for GTK+ 2.0
PKG_DESTDIR_SUPPORT= user-destdir
+MAKE_JOBS_SAFE= no
+
DEPENDS+= p5-ExtUtils-Depends>=0.300:../../devel/p5-ExtUtils-Depends
DEPENDS+= p5-ExtUtils-PkgConfig>=1.03:../../devel/p5-ExtUtils-PkgConfig
diff --git a/x11/p5-gtk2/buildlink3.mk b/x11/p5-gtk2/buildlink3.mk
new file mode 100644
index 00000000000..32d6f076f0a
--- /dev/null
+++ b/x11/p5-gtk2/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/10/12 18:55:15 kefren Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+P5_GTK2_BUILDLINK3_MK:= ${P5_GTK2_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= p5-gtk2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-gtk2}
+BUILDLINK_PACKAGES+= p5-gtk2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}p5-gtk2
+
+.if ${P5_GTK2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.p5-gtk2+= p5-gtk2>=1.182
+BUILDLINK_PKGSRCDIR.p5-gtk2?= ../../x11/p5-gtk2
+.endif # P5_GTK2_BUILDLINK3_MK
+
+.include "../../devel/p5-glib2/buildlink3.mk"
+.include "../../graphics/p5-cairo/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}