OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 13-Aug-2003 12:09:45
Branch: HEAD Handle: 2003081311094500
Modified files:
openpkg-src/mico mico.spec
Log:
nasty nasty speclint: shut up
Summary:
Revision Changes Path
1.47 +9 -5 openpkg-src/mico/mico.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mico/mico.spec
============================================================================
$ cvs diff -u -r1.46 -r1.47 mico.spec
--- openpkg-src/mico/mico.spec 13 Aug 2003 09:59:01 -0000 1.46
+++ openpkg-src/mico/mico.spec 13 Aug 2003 10:09:45 -0000 1.47
@@ -97,21 +97,25 @@
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"
CFLAGS="$CFLAGS `%{l_prefix}/bin/pkg-config --cflags-only-other qt`"
CXXFLAGS="$CXXFLAGS `%{l_prefix}/bin/pkg-config --cflags-only-other qt`"
CPPFLAGS="$CPPFLAGS `%{l_prefix}/bin/pkg-config --cflags-only-I qt`"
LDFLAGS="$LDFLAGS `%{l_prefix}/bin/pkg-config --libs-only-L qt`"
%endif
+ includedir=""
+%if "%{with_ssl}" == "yes"
+ includedir="$includedir %{l_prefix}/include/openssl"
+%endif
%if "%{with_gtk}" == "yes"
- CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/gtk"
+ includedir="$includedir %{l_prefix}/include/gtk"
%endif
%if "%{with_tcl}" == "yes"
- CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/tcl"
+ includedir="$includedir %{l_prefix}/include/tcl"
%endif
+ for dir in $includedir; do
+ CPPFLAGS="$CPPFLAGS -I$dir"
+ done
LDFLAGS="%{l_ldflags}"
JAVAC=no
export CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS JAVAC
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]