]> git.pld-linux.org Git - packages/xut.git/commitdiff
- fix linking (link.patch)
authorlisu <lisu@pld-linux.org>
Thu, 5 Nov 2009 12:46:21 +0000 (12:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xut.spec -> 1.4

xut.spec

index 1ff26ad73fcc82914a034db05d8f176f69059f1e..422581b226a06387db43ee396cd03f0802dbbcae 100644 (file)
--- a/xut.spec
+++ b/xut.spec
@@ -1,6 +1,5 @@
 #
 # TODO: - fix auto tools
-#      - move linking to Makefiles
 #
 %define                file_version %(echo %{version} | tr . _)
 Summary:       A button football simulation
@@ -13,6 +12,7 @@ Group:                X11/Applications/Games
 Source0:       http://downloads.sourceforge.net/digenv/%{name}_%{file_version}_src.tar.bz2
 # Source0-md5: 66c4bcd2ebc0fb5762bdea1df0db5a94
 Patch0:                %{name}-makefile.patch
+Patch1:                %{name}-link.patch
 URL:           http://xut.dnteam.org
 BuildRequires: OpenAL-devel
 BuildRequires: OpenGL-GLU-devel
@@ -37,6 +37,7 @@ XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása.
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
 #%%{__aclocal}
@@ -45,10 +46,6 @@ XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása.
 %configure
 %{__make}
 
-# link manually (there is no linking workaround in sources)
-cd src
-%{__cc} %{rpmcflags} %{rpmldflags} -o ../bin/%{name} `find -name "*.o"` -lopenal `sdl-config --libs` -lSDL_gfx -lSDL_image -lSDL_ttf -lcal3d -logg -lGL -lGLU -lvorbisfile
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
This page took 0.097804 seconds and 4 git commands to generate.