]> git.pld-linux.org Git - packages/decopter.git/commitdiff
- fix build on amd64, release 2 AC-branch AC-STABLE auto/ac/decopter-0_2_11-2
authorundefine <undefine@pld-linux.org>
Mon, 19 Jan 2004 02:12:25 +0000 (02:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    decopter.spec -> 1.9

decopter.spec

index af296aac1b2b21cf6708d6eb8ef93e83bf9980a5..a28a67c264a7446b8f49051df5cccd10de081079 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Unrealistic helicopter simulator
 Summary(pl):   Nierealistyczny symulator helikoptera
 Name:          decopter
 Version:       0.2.11
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -38,7 +38,8 @@ grywalny, mo
 %build
 %{__make} \
        CXX="%{__cxx}" \
-       CXXFLAGS="`sdl-config --cflags` -I/usr/X11R6/include -Wall %{rpmcflags} %{!?debug:-fomit-frame-pointer}"
+       CXXFLAGS="`sdl-config --cflags` -I/usr/X11R6/include -Wall %{rpmcflags} %{!?debug:-fomit-frame-pointer}" \
+       LDFLAGS="`sdl-config --libs` -L%{_prefix}/X11R6/%{_lib} -lSDL_image -lGL -lGLU -lstdc++"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.079584 seconds and 4 git commands to generate.