Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/libgnomecups/files: libgnomecups-0.2.3-cups-config.patch
Date: Sun, 29 Jun 2014 09:43:52
Message-Id: 20140629094348.992482004F@flycatcher.gentoo.org
1 mgorny 14/06/29 09:43:48
2
3 Added: libgnomecups-0.2.3-cups-config.patch
4 Log:
5 Enable multilib support, required for gnome-base/libgnomeprint.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
8
9 Revision Changes Path
10 1.1 net-print/libgnomecups/files/libgnomecups-0.2.3-cups-config.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/libgnomecups/files/libgnomecups-0.2.3-cups-config.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/libgnomecups/files/libgnomecups-0.2.3-cups-config.patch?rev=1.1&content-type=text/plain
14
15 Index: libgnomecups-0.2.3-cups-config.patch
16 ===================================================================
17 From 8f5e326dd89d98b2d34cf6f97583be4eb819b02b Mon Sep 17 00:00:00 2001
18 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
19 Date: Sun, 29 Jun 2014 10:36:14 +0200
20 Subject: [PATCH] Use AC_PATH_TOOL to find cups-config. And actually use the
21 result.
22
23 ---
24 configure.in | 6 +++---
25 1 file changed, 3 insertions(+), 3 deletions(-)
26
27 diff --git a/configure.in b/configure.in
28 index 3f0ccc5..0bd367e 100644
29 --- a/configure.in
30 +++ b/configure.in
31 @@ -22,13 +22,13 @@ AC_SUBST(GLIB_REQUIRED)
32
33 PKG_CHECK_MODULES(LIBGNOMECUPS, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED)
34
35 -AC_PATH_PROG(CUPS_CONFIG, cups-config, no)
36 +AC_PATH_TOOL(CUPS_CONFIG, cups-config, no)
37 if test "$CUPS_CONFIG" = "no"; then
38 AC_MSG_ERROR([Please install cups development packages])
39 fi
40
41 -CUPS_CFLAGS=`cups-config --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
42 -CUPS_LIBS=`cups-config --libs`
43 +CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
44 +CUPS_LIBS=`$CUPS_CONFIG --libs`
45
46 AC_SUBST(CUPS_CFLAGS)
47 AC_SUBST(CUPS_LIBS)
48 --
49 2.0.0