Wed, 07 Jan 2009 17:21:56 +0100
Correct missing shell do command argument and port to Solaris 11.
libpcap/libpcap.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/libpcap/libpcap.spec Wed Jan 07 17:20:34 2009 +0100 1.2 +++ b/libpcap/libpcap.spec Wed Jan 07 17:21:56 2009 +0100 1.3 @@ -32,7 +32,7 @@ 1.4 Group: Capturing 1.5 License: GPL 1.6 Version: 1.0.0 1.7 -Release: 20081028 1.8 +Release: 20090106 1.9 1.10 # list of sources 1.11 Source0: http://www.tcpdump.org/release/libpcap-%{version}.tar.gz 1.12 @@ -63,11 +63,21 @@ 1.13 %prep 1.14 %setup -q 1.15 %patch -p0 1.16 + %{l_shtool} subst \ 1.17 + -e 's;for ac_header in$;for ac_header in broken;' \ 1.18 + configure 1.19 1.20 %build 1.21 + case "%{l_platform -t}" in 1.22 + *-sunos* ) 1.23 + ( echo "ac_cv_lib_dlpi_dlpi_walk=no" 1.24 + ) >config.cache 1.25 + ;; 1.26 + esac 1.27 CC="%{l_cc}" \ 1.28 CFLAGS="%{l_cflags -O}" \ 1.29 ./configure \ 1.30 + --cache-file=./config.cache \ 1.31 --prefix=%{l_prefix} \ 1.32 --mandir=%{l_prefix}/man 1.33 %{l_make} %{l_mflags -O}