%if %{unicode}
%define buildname gtk2u
%else
- %define buildname gtk2u
+ %define buildname gtk2
%endif
%else
%define gtkver 1.2
%define wxconfigstatic %{portname}-unicode-release-static-%{ver2}
%define wxconfiglink wx%{portname}u-%{ver2}-config
%else
- %define name wx-%{portname}
+ %define name wx-%{portname}-ansi
%define wxconfig %{portname}-ansi-release-%{ver2}
%define wxconfigstatic %{portname}-ansi-release-static-%{ver2}
%define wxconfiglink wx%{portname}-%{ver2}-config
cd obj-shared-no-gui
../configure --prefix=%{_prefix} \
--disable-gui \
- --disable-optimise \
%if %{unicode}
--enable-unicode
%else
cd obj-shared
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
- --with-gtk1 \
+ --disable-gtk2 \
%else
- --with-gtk2 \
+ --enable-gtk2 \
%endif
- --disable-optimise \
%if %{unicode}
--enable-unicode \
%else
--disable-unicode \
+ --with-odbc \
%endif
--with-opengl
$MAKE
../configure --prefix=%{_prefix} \
--disable-gui \
--disable-shared \
- --disable-optimise \
%if %{unicode}
--enable-unicode
%else
cd obj-static
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
- --with-gtk1 \
+ --disable-gtk2 \
%else
- --with-gtk2 \
+ --enable-gtk2 \
%endif
--disable-shared \
- --disable-optimise \
%if %{unicode}
--enable-unicode \
%else
--disable-unicode \
+ --with-odbc \
%endif
--with-opengl
$MAKE
rm -rf $RPM_BUILD_ROOT
(cd obj-static-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT install)
-(cd obj-shared-no-gui; DESTDIR=$RPM_BUILD_ROOT install)
+(cd obj-shared-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT install)
# --- wxBase headers list begins here ---