summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/imlib/files/patch-imlib-config.diff
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/imlib/files/patch-imlib-config.diff')
-rw-r--r--freebsd/dependencies/imlib/files/patch-imlib-config.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-imlib-config.diff b/freebsd/dependencies/imlib/files/patch-imlib-config.diff
new file mode 100644
index 000000000..ad1a076d0
--- /dev/null
+++ b/freebsd/dependencies/imlib/files/patch-imlib-config.diff
@@ -0,0 +1,28 @@
+--- imlib-1.9.15.orig/imlib-config.in
++++ imlib-1.9.15/imlib-config.in
+@@ -49,21 +49,21 @@
+ if test @includedir@ != /usr/include ; then
+ includes=-I@includedir@
+ fi
+- echo $includes @X_CFLAGS@
++ echo $includes
+ ;;
+ --cflags-gdk)
+ if test @includedir@ != /usr/include ; then
+ includes=-I@includedir@
+ fi
+- echo `@GTK_CONFIG@ --cflags` $includes @X_CFLAGS@
++ echo `@GTK_CONFIG@ --cflags` $includes
+ ;;
+ --libs)
+ libdirs=-L@libdir@
+- echo $libdirs -lImlib @LDFLAGS@ $gx_libs @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
++ echo $libdirs -lImlib
+ ;;
+ --libs-gdk)
+ libdirs=-L@libdir@
+- echo $libdirs -lgdk_imlib$gdk_gx_libs `@GTK_CONFIG@ --libs` $gdk_libs
++ echo $libdirs -lgdk_imlib
+ ;;
+ *)
+ echo "${usage}" 1>&2