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: 12-Feb-2003 20:39:01
Branch: HEAD Handle: 2003021219390100
Modified files:
openpkg-src/sysmon sysmon.spec
Log:
- adjust body indentation in comment to our default
- use l_cppflags and l_ldflags
- pass make(1) variables on command line instead of environment
to be consistent with the approaches we use always
Summary:
Revision Changes Path
1.19 +6 -7 openpkg-src/sysmon/sysmon.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sysmon/sysmon.spec
============================================================================
$ cvs diff -u -r1.18 -r1.19 sysmon.spec
--- openpkg-src/sysmon/sysmon.spec 12 Feb 2003 16:33:13 -0000 1.18
+++ openpkg-src/sysmon/sysmon.spec 12 Feb 2003 19:39:01 -0000 1.19
@@ -57,19 +57,18 @@
%setup -q
%build
- # force use of ncurses
+ # force use of ncurses
echo "ac_cv_lib_curses_refresh=no" >config.cache
-
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/ncurses" \
- LDFLAGS="-L%{l_prefix}/lib" \
+ CPPFLAGS="%{l_cppflags ncurses}" \
+ LDFLAGS="%{l_ldflags}" \
./configure \
--cache-file=./config.cache \
--prefix=%{l_prefix}
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/ncurses" \
- LDFLAGS="-L%{l_prefix}/lib" \
- %{l_make} %{l_mflags -O}
+ %{l_make} %{l_mflags -O} \
+ CPPFLAGS="%{l_cppflags ncurses}" \
+ LDFLAGS="%{l_ldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]