SUNWevolution.spec
branchgnome-2-20
changeset 10728 86de0d987461
parent 10684 da92208c5962
child 10862 b5728631be3d
--- a/SUNWevolution.spec	Tue Oct 30 16:07:52 2007 +0000
+++ b/SUNWevolution.spec	Wed Oct 31 17:18:44 2007 +0000
@@ -115,7 +115,10 @@
 #       should be re-enabled once these issues are fixed
 export LD=/usr/ccs/bin/ld 
 export LDFLAGS="%{?arch_ldadd} -Wl,-z,ignore -L%{_libdir} -R%{_libdir}"
-export CFLAGS="%optflags -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib"
+export CFLAGS="%optflags"
+%if %option_with_gnu_iconv
+export CFLAGS="$CFLAGS -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib"
+%endif
 export RPM_OPT_FLAGS="$CFLAGS"
 export PERL=/usr/perl5/bin/perl
 export PKG_CONFIG_PATH=%{_pkg_config_path}:%{_builddir}/%name-%version/evolution-%{evolution.version}
@@ -288,6 +291,8 @@
 %{_sysconfdir}/gconf/schemas/evolution-mail.schemas
 
 %changelog
+* Wed Oct 31 2006 - [email protected]
+- Put the /usr/gnu references inside '%if %option_with_gnu_iconv' test.
 * Mon Oct 22 2006 - [email protected]
 - Add %{_libexecdir}/evolution/%{evolution.major_version}/evolution-backup to
   %files for evolution 2.12.1 tarball.