Hi Padraig,

On Tue, 2008-08-05 at 11:51 +0100, Padraig O'Briain wrote:
> %if %option_with_gnu_iconv
> Requires: SUNWgnu-libiconv
> Requires: SUNWgnu-gettext
> %else
> Requires: SUNWuiu8
> %endif

The %option_with_gnu_iconv conditions aren't needed anymore --
we no longer use GNU iconv on Indiana.  You can basically delete
this entire block.

> export PYTHON="/usr/bin/python"

Should be /usr/bin/python2.4

> export CFLAGS="%optflags -I/usr/sfw/include -I/usr/gnu/include -DANSICPP"

I doubt it uses anything from /usr/sfw (although not impossible).
It's almost empty now.

"-DANSICPP" was copied and pasted from spec file to spec file for
no good reason, should be deleted.

> %if %option_with_gnu_iconv
> export CFLAGS="$CFLAGS -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib 
> -lintl"
> %endif

Again, this is not needed anymore.

> export CPPFLAGS="-I/usr/sfw/include"
> export LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib -L/usr/gnu/lib -R/usr/gnu/lib"

Same comments for /usr/sfw as before.

Laca



Reply via email to