Author: wyoung
Date: Thu Nov 27 02:41:05 2008
New Revision: 2426
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2426&view=rev
Log:
Makefile.simple munging in RPM build process to produce a simple example
building Makefile broke due to changes in Bakefile. Closes #12623.
Modified:
trunk/mysql++.spec.in
Modified: trunk/mysql++.spec.in
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.spec.in?rev=2426&r1=2425&r2=2426&view=diff
==============================================================================
--- trunk/mysql++.spec.in (original)
+++ trunk/mysql++.spec.in Thu Nov 27 02:41:05 2008
@@ -65,8 +65,8 @@
# Fix up simple example Makefile to allow it to build on the install
# system, as opposed to the system where the Makefile was created.
%{__sed} -e '[EMAIL PROTECTED]/examples/@@' \
- -e '[EMAIL PROTECTED] :[EMAIL PROTECTED] := $(shell mysql_config --cflags)@'
\
- -e '[EMAIL PROTECTED] :[EMAIL PROTECTED] := $(shell mysql_config --libs)@' \
+ -e '[EMAIL PROTECTED]@CPPFLAGS := $(shell mysql_config --cflags)@' \
+ -e '[EMAIL PROTECTED]@LDFLAGS := $(shell mysql_config --libs)@' \
-e 's@ -Ilib@@' \
-e '/^all:/s/test_[a-z,_]* //g' \
Makefile.simple > doc/examples/Makefile
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits