|
|
@@ -46,7 +46,7 @@ Patch0: distcc.patch
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20030103, popt
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20030103
|
|
|
PreReq: OpenPKG, openpkg >= 20030103
|
|
|
%if "%{with_x11}" == "yes"
|
|
|
BuildPreReq: X11, gtk2
|
|
|
@@ -75,14 +75,13 @@ AutoReqProv: no
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
|
LDFLAGS="%{l_ldflags}" \
|
|
|
- LIBS="-lpopt" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--sysconfdir=%{l_prefix}/etc/distcc \
|
|
|
%if "%{with_x11}" == "yes"
|
|
|
--with-gtk \
|
|
|
%endif
|
|
|
- --without-included-popt
|
|
|
+ --with-included-popt
|
|
|
|
|
|
# build program
|
|
|
%{l_make} %{l_mflags -O}
|