# HG changeset patch # User Ryan C. Gordon # Date 1175398065 0 # Node ID 56ec4d96248714c40848e54701552c8e0726311d # Parent 6a62cbdd65f57b4fd9315a4ab23b81b186b3dd75 Date: Sat, 31 Mar 2007 16:39:52 +0200 From: Bert Wesarg To: sdl@lists.libsdl.org Subject: [SDL] [PATCH] sdl-config.in needs ${libdir} Hello, after the patch for Bug #321, sdl-config.in needs the libdir variable. and there is a hardcoded 'lib' in SDL.spec.in too. Bert Wesarg diff -r 6a62cbdd65f5 -r 56ec4d962487 SDL.spec.in --- a/SDL.spec.in Fri Mar 30 20:09:55 2007 +0000 +++ b/SDL.spec.in Sun Apr 01 03:27:45 2007 +0000 @@ -54,7 +54,7 @@ includedir=$RPM_BUILD_ROOT%{_includedir} \ datadir=$RPM_BUILD_ROOT%{_datadir} \ mandir=$RPM_BUILD_ROOT%{_mandir} -ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{prefix}/lib/libSDL-1.1.so.0 +ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0 %else %makeinstall %endif diff -r 6a62cbdd65f5 -r 56ec4d962487 sdl-config.in --- a/sdl-config.in Fri Mar 30 20:09:55 2007 +0000 +++ b/sdl-config.in Sun Apr 01 03:27:45 2007 +0000 @@ -3,6 +3,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no +libdir=@libdir@ @ENABLE_STATIC_FALSE@usage="\ @ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"