summaryrefslogtreecommitdiff
path: root/x11/gtk2
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2008-09-11 09:34:04 +0000
committerdsainty <dsainty@pkgsrc.org>2008-09-11 09:34:04 +0000
commit2982e3d033fd5fd1cbbeda438fd25abf46369dc9 (patch)
tree0cad119221e3a2bebfb9cd1238267a29bbc25911 /x11/gtk2
parent426e1d10f0cf8ef899cb9248f23f705d47d38733 (diff)
downloadpkgsrc-2982e3d033fd5fd1cbbeda438fd25abf46369dc9.tar.gz
If the package was installed with option "cups", buildlink in cups, which in
turn arranges for approriate dependencies. Fixes the build of "devel/eel" bombing out under Linux because buildlink didn't pull in libdb4.so. /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -ldb4 collect2: ld returned 1 exit status make[2]: *** [check-program] Error 1 make[2]: Leaving directory `/home/pkgsrc2/pkgsrc/devel/eel/work/eel-2.22.2/eel'
Diffstat (limited to 'x11/gtk2')
-rw-r--r--x11/gtk2/buildlink3.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/gtk2/buildlink3.mk b/x11/gtk2/buildlink3.mk
index 3db26c87d0b..96ef70ad066 100644
--- a/x11/gtk2/buildlink3.mk
+++ b/x11/gtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.38 2007/05/30 08:54:31 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.39 2008/09/11 09:34:04 dsainty Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2_BUILDLINK3_MK:= ${GTK2_BUILDLINK3_MK}+
@@ -37,6 +37,10 @@ pkgbase := gtk2
.include "../../x11/libXi/buildlink3.mk"
.endif
+.if !empty(PKG_BUILD_OPTIONS.gtk2:Mcups)
+.include "../../print/cups/buildlink3.mk"
+.endif
+
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"