summaryrefslogtreecommitdiff
path: root/packages/efl/evas/fix-configure.patch
blob: cc7462e72c5144d358d88b12b22255baf4ee7aa9 (plain)
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

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- evas-0.9.9.013/configure.in~fix-configure
+++ evas-0.9.9.013/configure.in
@@ -157,9 +157,7 @@
     [
       AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, true)
       AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11, 1, [Software X11 Rendering Backend])
-      x_dir=${x_dir:-/usr/X11R6}
-      x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
-      x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
+      x_libs="-lX11 -lXext";
       ENGINE_SOFTWARE_X11_PRG="evas_software_x11_test evas_software_x11_perf_test evas_software_x11_perf_load"
     ],
     [
@@ -221,7 +219,7 @@
         X11/X.h,
         [AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_XCB, true)
          AC_DEFINE(BUILD_ENGINE_SOFTWARE_XCB, 1, [Software XCB Rendering Backend])
-         xcb_dir=${x_dir:-/usr/X11R6}
+         xcb_dir=${x_dir:-}
          xcb_cflags="${x_cflags:--I${x_includes:-$x_dir/include}} $XCB_CFLAGS $XCB_ICCCM_CFLAGS"
          xcb_libs="${x_libs:--L${x_libraries:-$x_dir/lib}}  $XCB_LIBS $XCB_ICCCM_LIBS"
          ENGINE_SOFTWARE_XCB_PRG="evas_software_xcb_test evas_software_xcb_perf_test evas_software_xcb_perf_load"],
@@ -433,10 +431,10 @@
 	  AC_DEFINE(BUILD_ENGINE_GL_X11, 1, [OpenGL X11 Rendering Backend])
 	  AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, true)
 	  AC_DEFINE(BUILD_ENGINE_GL_COMMON, 1, [Generic OpenGL Rendering Support])
-	  x_dir=${x_dir:-/usr/X11R6};
+	  x_dir=${x_dir:-};
 	  x_cflags=${x_cflags:--I$x_dir/include}
 	  x_libs="${x_libs:--L$x_dir/lib -lX11 -lXext}"
-	  gl_cflags="-I/usr/include"
+	  gl_cflags=""
 	  gl_libs="-lGL -lGLU -lpthread"
 	  gl_dir=""
 	  ENGINE_GL_X11_PRG="evas_gl_x11_test"
@@ -490,7 +488,7 @@
       AC_DEFINE(BUILD_ENGINE_CAIRO_X11, 1, [Cairo X11 Rendering Backend])
       AM_CONDITIONAL(BUILD_ENGINE_CAIRO_COMMON, true)
       AC_DEFINE(BUILD_ENGINE_CAIRO_COMMON, 1, [Generic Cairo Rendering Support])
-      x_dir="/usr/X11R6";
+      x_dir="";
       x_cflags="-I"$x_dir"/include"
       x_libs="-L"$x_dir"/lib -lX11 -lXext"
       ENGINE_CAIRO_X11_PRG="evas_cairo_x11_test"