summaryrefslogtreecommitdiff
path: root/devel/wftk/files/patch-aa
blob: cf5ad2bb912d87ea3a30b87a5a5c57e0860ed21e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
$FreeBSD$

--- configure.orig	Thu Apr 12 12:21:35 2001
+++ configure	Thu Mar 14 13:09:31 2002
@@ -7,6 +7,9 @@
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 
+LIBS="$LIBS -L/usr/local/lib"
+SDL_CONFIG="/usr/local/bin/sdl11-config"
+
 # Defaults:
 ac_help=
 ac_default_prefix=/usr/local
@@ -3573,7 +3576,7 @@
 
 CFLAGS=
 CXXFLAGS=
-CPPFLAGS=-Wall
+CPPFLAGS="$CPPFLAGS -Wall"
 
 case $win32 in
     true)
@@ -4603,7 +4606,7 @@
     no_sdl=yes
   else
     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
-    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
+    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs | sed 's/-lXxf86vm -lXxf86dga -lXv //g'`
 
     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
@@ -4627,7 +4630,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <SDL/SDL.h>
+#include <SDL11/SDL.h>
 
 char*
 my_strdup (char *str)
@@ -4717,7 +4720,7 @@
 #include "confdefs.h"
 
 #include <stdio.h>
-#include <SDL/SDL.h>
+#include <SDL11/SDL.h>
 
 int main() {
  return 0; 
@@ -5042,7 +5045,7 @@
   cat > conftest.$ac_ext <<EOF
 #line 5044 "configure"
 #include "confdefs.h"
-#include <SDL/SDL_mixer.h>
+#include <SDL11/SDL_mixer.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:5049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }