Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/sarg/files: sarg-2.3.9-configure.patch
Date: Fri, 26 Sep 2014 08:42:46
Message-Id: 20140926084242.A6D5E64F5@oystercatcher.gentoo.org
1 jer 14/09/26 08:42:42
2
3 Added: sarg-2.3.9-configure.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-analyzer/sarg/files/sarg-2.3.9-configure.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/files/sarg-2.3.9-configure.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/files/sarg-2.3.9-configure.patch?rev=1.1&content-type=text/plain
14
15 Index: sarg-2.3.9-configure.patch
16 ===================================================================
17 --- a/configure.in
18 +++ b/configure.in
19 @@ -26,6 +26,11 @@
20 dnl C99 support is required to define LLONG_MAX (at least on CentOS 5.7)
21 AC_PROG_CC_C99
22
23 +dnl mkdir_p / MKDIR_P
24 +AC_PROG_MKDIR_P
25 +mkdir_p="$MKDIR_P"
26 +AC_SUBST(mkdir_p)
27 +
28 # Report more warnings to improve code quality.
29 CFLAGS="${CFLAGS} -Wall -Wno-sign-compare"
30
31 @@ -60,7 +65,7 @@
32
33 case "$host" in
34 *-solaris*)
35 - LDFLAGS="${LDFLAGS} -lsocket -lnsl"
36 + LIBS="${LIBS} -lsocket -lnsl"
37 CFLAGS="-DSOLARIS ${CFLAGS}"
38 ;;
39 esac