pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk2 If the package was installed with option "cup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cdf376dc232e
branches:  trunk
changeset: 547023:cdf376dc232e
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Thu Sep 11 09:34:04 2008 +0000

description:
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:

 x11/gtk2/buildlink3.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 778f019092ea -r cdf376dc232e x11/gtk2/buildlink3.mk
--- a/x11/gtk2/buildlink3.mk    Thu Sep 11 05:06:28 2008 +0000
+++ b/x11/gtk2/buildlink3.mk    Thu Sep 11 09:34:04 2008 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index