|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Development
|
|
|
License: BSD-style
|
|
|
Version: 1.3.14
|
|
|
-Release: 20020813
|
|
|
+Release: 20020820
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://belnet.dl.sourceforge.net/sourceforge/swig/swig-%{version}.tar.gz
|
|
|
@@ -41,7 +41,7 @@ Source0: http://belnet.dl.sourceforge.net/sourceforge/swig/swig-%{version}.
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
|
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -59,7 +59,9 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
+ CXX="%{l_cxx}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
+ CXXFLAGS="%{l_cflags -O}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-swiglibdir=%{l_prefix}/libexec/swig \
|