summaryrefslogtreecommitdiff
path: root/packages/enca/files/configure-remove-dumbness.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-01-07 00:42:20 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-01-07 00:42:20 +0000
commit1c32531f10033a3fc1fec32822d2ada79814d33c (patch)
tree641ea174385e5d1ba33f3f287aa3c621ca9c11ce /packages/enca/files/configure-remove-dumbness.patch
parent47587af5097b26df091950729fb6c60a5c966fbe (diff)
enca 1.9: Fix build.
* These patches should fix build on both 32 and 64 bit systems. * Closes #1129, #1461.
Diffstat (limited to 'packages/enca/files/configure-remove-dumbness.patch')
-rw-r--r--packages/enca/files/configure-remove-dumbness.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/enca/files/configure-remove-dumbness.patch b/packages/enca/files/configure-remove-dumbness.patch
new file mode 100644
index 0000000000..6f6f3e320e
--- /dev/null
+++ b/packages/enca/files/configure-remove-dumbness.patch
@@ -0,0 +1,26 @@
+--- enca-1.9/configure.ac.orig 2006-06-29 15:30:44.000000000 +0100
++++ enca-1.9/configure.ac 2006-06-29 15:31:41.000000000 +0100
+@@ -92,14 +92,15 @@
+ dnl And for gtk-doc
+ gtk_CHECK_GTK_DOC
+
+-dnl Dirty path hack. Helps some people with badly set up search paths.
+-if test "$prefix" = "NONE"; then
+- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+- LDFLAGS="$LDFLAGS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-fi
++# This is really dumb code
++#dnl Dirty path hack. Helps some people with badly set up search paths.
++#if test "$prefix" = "NONE"; then
++# LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
++# CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
++#else
++# LDFLAGS="$LDFLAGS -L$prefix/lib"
++# CPPFLAGS="$CPPFLAGS -I$prefix/include"
++#fi
+
+ dnl Checks for libraries.
+ ye_CHECK_LIBM