On Wed, Jul 30, 2003, Michael Schloh wrote:
>   Log:
>     Fix option handling and dependencies, add patchcode to correct missing
>     namespaces in TCL library code
> 
>   Index: openpkg-src/mico/mico.spec
>   ============================================================================
>   $ cvs diff -u -r1.39 -r1.40 mico.spec
>   --- openpkg-src/mico/mico.spec      23 Jul 2003 13:32:04 -0000      1.39
>   +++ openpkg-src/mico/mico.spec      30 Jul 2003 15:03:18 -0000      1.40
>   @@ -83,10 +91,19 @@
>        CXX="%{l_cxx}"
>        CFLAGS="%{l_cflags -O}"
>        CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated"
>   +    CPPFLAGS="%{l_cppflags}"
>   +%if "%{with_ssl}" == "yes"
>   +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/openssl}"
>   +%endif
>    %if "%{with_qt}" == "yes"
>   -    CXXFLAGS="$CXXFLAGS %{l_cppflags qt}"
>   +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/qt}"
>   +%endif
>   +%if "%{with_gtk}" == "yes"
>   +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/gtk}"
>   +%endif
>   +%if "%{with_tcl}" == "yes"
>   +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/tcl}"
>    %endif
>
I intentionally hard coded the CPPFLAGS include paths in this spec to avoid up
to four times of redundant paths, which would appear in most of the hundreds
of lines of text spewed to the terminal while building.

If somebody knows a better way to reduce the '%{l_prefix}/include' redundancy,
then just say so. Right now speclint does not support the type of redundancy
reduction that I chose to use, so we probably need to think about this.

-- 
[EMAIL PROTECTED]
Development Team, Operations Northern Europe
Cable & Wireless Telecommunications Services GmbH

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to