summaryrefslogtreecommitdiff
path: root/devel/libhid/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libhid/files/patch-configure')
-rw-r--r--devel/libhid/files/patch-configure31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/libhid/files/patch-configure b/devel/libhid/files/patch-configure
new file mode 100644
index 000000000000..894729023634
--- /dev/null
+++ b/devel/libhid/files/patch-configure
@@ -0,0 +1,31 @@
+--- configure.orig 2007-04-26 00:25:25 UTC
++++ configure
+@@ -22433,19 +22433,6 @@ echo "${ECHO_T}$swig_version" >&6; }
+ if test -z "$available_patch" ; then
+ available_patch=0
+ fi
+- if test $available_major -ne $required_major \
+- -o $available_minor -ne $required_minor \
+- -o $available_patch -lt $required_patch ; then
+- { echo "$as_me:$LINENO: WARNING: SWIG version >= 1.3 is required. You have $swig_version. You should look at http://www.swig.org" >&5
+-echo "$as_me: WARNING: SWIG version >= 1.3 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
+- SWIG='echo "Error: SWIG version >= 1.3 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
+- else
+- { echo "$as_me:$LINENO: SWIG executable is '$SWIG'" >&5
+-echo "$as_me: SWIG executable is '$SWIG'" >&6;}
+- SWIG_LIB=`$SWIG -swiglib`
+- { echo "$as_me:$LINENO: SWIG library directory is '$SWIG_LIB'" >&5
+-echo "$as_me: SWIG library directory is '$SWIG_LIB'" >&6;}
+- fi
+ else
+ { echo "$as_me:$LINENO: WARNING: cannot determine SWIG version" >&5
+ echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
+@@ -22785,7 +22772,7 @@ echo $ECHO_N "checking for Python library path... $ECH
+
+ PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
+ import os; \
+- print apply(os.path.join, get_config_vars('LIBPL', 'LDLIBRARY'))"`
++ print apply(os.path.join, get_config_vars('LIBDIR', 'LDLIBRARY'))"`
+ fi
+ { echo "$as_me:$LINENO: result: $PYTHON_LDFLAGS" >&5
+ echo "${ECHO_T}$PYTHON_LDFLAGS" >&6; }