- fix -build.patch
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 12 Feb 2012 09:19:37 +0000 (09:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass CC, CXX, CFLAGS, LDFLAGS and LIBS
- rlease 4 (rebuild against libpng-1.5)

Changed files:
    fceultra.spec -> 1.10

fceultra.spec

index e10d3903e4c8ec1b8ba7ab42b3515d79b2662d86..404e98b1b6343fdebd6544a1e2aeabec64205ab3 100644 (file)
@@ -5,7 +5,7 @@ Summary:        FCE Ultra - Linux Nintendo Entertainment System emulator
 Summary(pl.UTF-8):     FCE Ultra - linuksowy emulator systemu Nintendo
 Name:          fceultra
 Version:       2.1.5
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://downloads.sourceforge.net/fceultra/fceux-%{version}.src.tar.bz2
@@ -30,9 +30,15 @@ FCE Ultra to wieloplatformowy emulator konsoli Famicom/NES/Pegasus.
 
 %prep
 %setup -q -n fceu%{version}
+%undos src/file.cpp
 %patch0 -p1
 
 %build
+CC="%{__cc}" \
+CXX="%{__cxx}" \
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
+LIBS="-ldl" \
 %scons
 
 %install
This page took 0.085154 seconds and 4 git commands to generate.