]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- in configure alsa is on by default, so updated bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 31 Jul 2003 21:09:11 +0000 (21:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added lt15 patch (--tag for nasm), properly fixed libtool/sed issue

Changed files:
    SDL-lt15.patch -> 1.1
    SDL.spec -> 1.114

SDL-lt15.patch [new file with mode: 0644]
SDL.spec

diff --git a/SDL-lt15.patch b/SDL-lt15.patch
new file mode 100644 (file)
index 0000000..06040f3
--- /dev/null
@@ -0,0 +1,11 @@
+--- SDL-1.2/src/hermes/Makefile.am.orig        2003-05-29 06:23:03.000000000 +0200
++++ SDL-1.2/src/hermes/Makefile.am     2003-07-31 22:54:05.000000000 +0200
+@@ -7,7 +7,7 @@
+ SUFFIXES = .asm
+ .asm.lo:
+-      $(LIBTOOL) --mode=compile $(STRIP_FPIC) $(NASM) @NASMFLAGS@ $< -o $*.o
++      $(LIBTOOL) --mode=compile --tag=NASM $(STRIP_FPIC) $(NASM) @NASMFLAGS@ $< -o $*.o
+ ###########################################################################
index cfb56b1f2e5b7bc3e1480a78018b174a5c1051a9..49607ac251eb14cca046ce06d328fff7b7317bd4 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
@@ -38,6 +38,7 @@ Patch4:               %{name}-ac25x.patch
 Patch5:                %{name}-no_rpath_in_sdl-config.patch
 Patch6:                %{name}-noobjc.patch
 Patch7:                %{name}-am17.patch
+Patch8:                %{name}-lt15.patch
 URL:           http://www.libsdl.org/
 BuildRequires: OpenGL-devel
 BuildRequires: XFree86-devel >= 4.0.2
@@ -50,7 +51,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 %{!?_without_esound:BuildRequires:     esound-devel}
 %{?_with_ggi:BuildRequires:    libggi-devel}
-BuildRequires: libtool
+BuildRequires: libtool >= 2:1.4d
 %{?_with_nas:BuildRequires:    nas-devel}
 %ifarch %{ix86}
 BuildRequires: nasm
@@ -162,15 +163,20 @@ SDL - przyk
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+
+# get COPY_ARCH_SRC, remove the rest
+head -n 16 acinclude.m4 > acinclude.tmp
+mv -f acinclude.tmp acinclude.m4
 
-%build
 find . -type d -name CVS -print | xargs rm -rf {} \;
+
+%build
 rm -f missing libtool
 %{__libtoolize}
 %{__aclocal}
 %{__automake}
 %{__autoconf}
-SED=sed ; export SED
 %configure \
 %ifarch %{ix86}
        --enable-nasm \
@@ -192,9 +198,7 @@ SED=sed ; export SED
        %{?_with_ggi:--enable-video-ggi} \
        %{!?_with_nas:--disable-nas} \
        %{?_with_svga:--enable-video-svga} \
-%ifnarch sparc sparc64
-       %{!?_without_alsa:--enable-alsa} \
-%endif
+       %{?_without_alsa:--disable-alsa} \
        %{!?_without_esound:--enable-esd} \
        %{!?_without_arts:--enable-arts} \
        %{?_without_arts:--disable-arts}
@@ -205,7 +209,6 @@ SED=sed ; export SED
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-SED=sed ; export SED
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        m4datadir=%{_aclocaldir}
This page took 0.04027 seconds and 4 git commands to generate.