SPECS: astyle.spec - add -Makefile.patch to pass CXX

darekr darekr at pld-linux.org
Fri May 12 15:53:09 CEST 2006


Author: darekr                       Date: Fri May 12 13:53:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add -Makefile.patch to pass CXX

---- Files affected:
SPECS:
   astyle.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/astyle.spec
diff -u SPECS/astyle.spec:1.8 SPECS/astyle.spec:1.9
--- SPECS/astyle.spec:1.8	Tue Feb 22 12:50:04 2005
+++ SPECS/astyle.spec	Fri May 12 15:53:03 2006
@@ -9,6 +9,7 @@
 Source0:	http://dl.sourceforge.net/astyle/%{name}_%{version}.zip
 # Source0-md5:	4d8adbcd8703aea00fcd2670be090ddd
 URL:		http://astyle.sourceforge.net/
+Patch0:		%{name}-Makefile.patch
 BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,9 +23,11 @@
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %build
 %{__make} \
+	CXX="%{__cxx}" \
 	CPPFLAGS="%{rpmcflags}"
 
 %install
@@ -47,6 +50,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/05/12 13:53:03  darekr
+- add -Makefile.patch to pass CXX
+
 Revision 1.8  2005/02/22 11:50:04  qboosh
 - friendly Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/astyle.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list