aboutsummaryrefslogtreecommitdiff
path: root/devel/libhid
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-08-02 07:01:53 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-08-02 07:01:53 +0000
commita38c83387472ce2eefa04e133b4ac3c1fd8c3240 (patch)
tree62e85db3565ddd602b522083e82d02787362c810 /devel/libhid
parentd76fe51a14c836ec2896e92f693f2388f295a18f (diff)
downloadports-a38c83387472ce2eefa04e133b4ac3c1fd8c3240.tar.gz
ports-a38c83387472ce2eefa04e133b4ac3c1fd8c3240.zip
- Unbreak builds after the lang/python27 update (r363790)
Exp-run: 192242, 192244
Notes
Notes: svn path=/head/; revision=363792
Diffstat (limited to 'devel/libhid')
-rw-r--r--devel/libhid/Makefile2
-rw-r--r--devel/libhid/files/patch-configure13
2 files changed, 6 insertions, 9 deletions
diff --git a/devel/libhid/Makefile b/devel/libhid/Makefile
index 7cba7459c7c8..d31d76acebdc 100644
--- a/devel/libhid/Makefile
+++ b/devel/libhid/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libhid
PORTVERSION= 0.2.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://alioth.debian.org/frs/download.php/1958/
diff --git a/devel/libhid/files/patch-configure b/devel/libhid/files/patch-configure
index 81885493c169..8ed8d2517072 100644
--- a/devel/libhid/files/patch-configure
+++ b/devel/libhid/files/patch-configure
@@ -1,14 +1,11 @@
---- configure.orig 2007-04-26 03:25:25.000000000 +0300
-+++ configure 2007-09-04 11:10:38.000000000 +0300
-@@ -22784,8 +22784,9 @@
- fi
+--- configure.orig 2014-08-01 17:07:37.000000000 +0200
++++ configure 2014-08-01 17:08:37.000000000 +0200
+@@ -22785,7 +22785,7 @@
PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
-- import os; \
+ import os; \
- print apply(os.path.join, get_config_vars('LIBPL', 'LDLIBRARY'))"`
-+ import os; import re; from string import join; \
-+ print join(get_config_vars('LDFLAGS')) + ' ' + \
-+ re.sub('\.a$', '.so', 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; }