SPECS: boost-jam.spec - 3.1.17 - fix problem with empty quotes when passing...

lisu lisu at pld-linux.org
Mon Dec 1 12:36:50 CET 2008


Author: lisu                         Date: Mon Dec  1 11:36:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 3.1.17
- fix problem with empty quotes when passing CFLAGS

---- Files affected:
SPECS:
   boost-jam.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/boost-jam.spec
diff -u SPECS/boost-jam.spec:1.15 SPECS/boost-jam.spec:1.16
--- SPECS/boost-jam.spec:1.15	Wed Dec 12 01:03:14 2007
+++ SPECS/boost-jam.spec	Mon Dec  1 12:36:44 2008
@@ -2,12 +2,12 @@
 Summary:	Boost Jam - build tool
 Summary(pl.UTF-8):	Boost Jam - narzędzie do budowania
 Name:		boost-jam
-Version:	3.1.16
+Version:	3.1.17
 Release:	1
 License:	BSD-like
 Group:		Development/Tools
 Source0:	http://dl.sourceforge.net/boost/%{name}-%{version}.tgz
-# Source0-md5:	1fd96a38b1a33c365e8142eec53197e7
+# Source0-md5:	f4afd896788f2327fd35c128ddc6e340
 URL:		http://www.boost.org/
 BuildRequires:	docbook-dtd41-sgml
 BuildRequires:	docbook-utils
@@ -33,12 +33,13 @@
 %setup -q
 
 %{__perl} -pi -e 's/-s -O /%{rpmldflags} /' build.jam
+# CFLAGS must be given in this way to avoid incorrect "" argument when building
+%{__perl} -pi -e 's/\$\(CFLAGS\)/%{rpmcflags}/' build.jam
 
 %build
 CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
 LOCATE_TARGET=bin \
-./build.sh cc -d2
+./build.sh cc -d2 \
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -62,6 +63,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008/12/01 11:36:44  lisu
+- 3.1.17
+- fix problem with empty quotes when passing CFLAGS
+
 Revision 1.15  2007/12/12 00:03:14  lisu
 - 3.1.16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/boost-jam.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list