OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-doc Date: 14-Aug-2003 19:19:17
Branch: HEAD Handle: 2003081418191600
Modified files:
openpkg-doc/handbook 00TODO
Log:
reflect change in macro name (with_cc -> use_cc)
Summary:
Revision Changes Path
1.30 +3 -3 openpkg-doc/handbook/00TODO
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-doc/handbook/00TODO
============================================================================
$ cvs diff -u -r1.29 -r1.30 00TODO
--- openpkg-doc/handbook/00TODO 29 Jul 2003 18:21:27 -0000 1.29
+++ openpkg-doc/handbook/00TODO 14 Aug 2003 17:19:16 -0000 1.30
@@ -68,8 +68,8 @@
%l_cc gcc
(or) %l_cc /usr/local/bin/gcc
%l_cflags -pipe -O3 -march=i686 -funroll-loops
-Alternatively, you can override <tt>%l_cc</tt> for a single rebuild by defining
"with_cc".
- .../rpm --define "with_cc /usr/local/bin/gcc" --rebuild ...
+Alternatively, you can override <tt>%l_cc</tt> for a single rebuild by defining
"use_cc".
+ .../rpm --define "use_cc /usr/local/bin/gcc" --rebuild ...
Macros in specfile
OpenPKG's RPM additionally provides a set of local macros (C<%{l_xxx}>)
@@ -156,7 +156,7 @@
The official way is to use:
- $ rpm --rebuild --define "with_cc /usr/local/bin/gcc" rsync-*.src.rpm
+ $ rpm --rebuild --define "use_cc /usr/local/bin/gcc" rsync-*.src.rpm
This on-the-fly overrites the l_cc variable. I think we should add this
to the FAQ and/or the handbook because it certainly is the main pitfall
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]