- add -Makefile.patch to pass CXX
authordarekr <darekr@pld-linux.org>
Fri, 12 May 2006 13:53:03 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    astyle.spec -> 1.9

astyle.spec

index 4fed495..3c6ce68 100644 (file)
@@ -8,6 +8,7 @@ Group:          Development/Tools
 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)
 
@@ -21,9 +22,11 @@ wci
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %build
 %{__make} \
+       CXX="%{__cxx}" \
        CPPFLAGS="%{rpmcflags}"
 
 %install
This page took 0.115646 seconds and 4 git commands to generate.