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/tracebox/files: tracebox-0.2-deps.patch
Date: Thu, 26 Jun 2014 22:11:53
Message-Id: 20140626220937.6CBAE2004F@flycatcher.gentoo.org
1 jer 14/06/26 22:09:37
2
3 Added: tracebox-0.2-deps.patch
4 Log:
5 Initial commit (bug #515134 by Sebastian Schreier).
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-analyzer/tracebox/files/tracebox-0.2-deps.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tracebox/files/tracebox-0.2-deps.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tracebox/files/tracebox-0.2-deps.patch?rev=1.1&content-type=text/plain
14
15 Index: tracebox-0.2-deps.patch
16 ===================================================================
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -32,15 +32,11 @@
20 ])
21 ])
22
23 -# Make sure libcrafter build a static library by adding the --disable-shared
24 -# argument to the configure script.
25 -ac_configure_args_pre="$ac_configure_args"
26 -ac_configure_args_post="$ac_configure_args --disable-shared"
27 -ac_configure_args="$ac_configure_args_post"
28 +# check for libcrafter
29 +PKG_CHECK_MODULES(crafter, crafter, LIBS="$LIBS $crafter_LIBS",AC_MSG_ERROR([libcrafter is required]))
30
31 -AC_CONFIG_COMMANDS_PRE([ac_configure_args="$ac_configure_args_pre"])
32 -AC_CONFIG_COMMANDS_POST([ac_configure_args="$ac_configure_args_post"])
33 -AC_CONFIG_SUBDIRS(noinst/libcrafter/libcrafter)
34 +# check for libpcap
35 +AC_CHECK_LIB(pcap,pcap_open_offline,LIBS="$LIBS -lpcap",AC_MSG_ERROR([libpcap is required]))
36
37 # Enable click submodule
38 AS_IF([test "x$enable_tests" = "xyes"], [
39 @@ -50,7 +46,6 @@
40
41 AC_CONFIG_COMMANDS_PRE([ac_configure_args="$ac_configure_args_pre"])
42 AC_CONFIG_COMMANDS_POST([ac_configure_args="$ac_configure_args_post"])
43 - AC_CONFIG_SUBDIRS(tests/tools/click)
44
45 AC_PATH_PROG([FAKEROOT], [fakeroot])
46 AS_IF([test -z "$FAKEROOT"], [