- pass correct CXXFLAGS for ncurses, thus obsoleting patch0
authorsaq <saq@pld-linux.org>
Tue, 24 May 2005 21:58:45 +0000 (21:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bochs.spec -> 1.44

bochs.spec

index fbccfa894050b306a6db42a096fb9d19d218c688..349fd85bb075b878ce2cbc1e9ad3ed46669d0db4 100644 (file)
@@ -13,7 +13,6 @@ License:      GPL
 Group:         Applications/Emulators
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # Source0-md5: 7b21efbe2b56cc15d110993234259b33
-Patch0:                %{name}-ncurses.patch
 URL:           http://bochs.sourceforge.net/
 BuildRequires: SDL-devel
 BuildRequires: XFree86-devel
@@ -42,11 +41,12 @@ Twoim komputerze.
 
 %prep
 %setup -q
-%patch0        -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
 %{__autoconf}
+CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+export CXXFLAGS
 # --enable-x86-64 (not supported together with --enable-sep)
 # --enable-debugger --enable-iodebug --enable-x86-debugger (slowdowns emulation)
 # --enable-apic (no need to specify, configure will choose best depending on nr cpus)
This page took 0.110822 seconds and 4 git commands to generate.