pkgsrc/devel/libhid/patches/patch-configure
mef 098e0766d1 Import libhid-0.2.16 as devel/libhid.
libhid is a rewrite of libHID[0] and aims to provide the same functionality
from a more organised framework. It aims to provide a layer of abstraction for
accessing HID-class devices over USB or serial lines (similar to what libusb
provides for the base USB protocol).
  http://www.ghz.cc/~clepple/libHID/doc/html/
libhid has been designed because it is needed in two other projects
(libphdigets and nut). As such, it does not have a complete featureset yet but
is rather a work in progress (alpha state). We invite everyone to contribute
or get in touch with us for additional features.
Please find more information on the project website:
  http://libhid.alioth.debian.org
2013-12-03 01:30:06 +00:00

28 lines
998 B
Text

$NetBSD: patch-configure,v 1.1 2013/12/03 01:30:06 mef Exp $
(1)
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] configure: if test "$py_version" == "None"; then
(2)
Add DragonflyBSD
--- configure.orig 2007-04-26 09:25:25.000000000 +0900
+++ configure 2013-10-10 07:33:08.485190000 +0900
@@ -2757,7 +2757,7 @@ _ACEOF
{ echo "$as_me:$LINENO: result: Linux" >&5
echo "${ECHO_T}Linux" >&6; }
;;
- *-freebsd*|*-openbsd*|*-netbsd*|*-k*bsd*-gnu)
+ *-freebsd*|*-openbsd*|*-netbsd*|*-k*bsd*-gnu|*-dragonfly*)
cat >>confdefs.h <<\_ACEOF
#define OS_BSD
@@ -22774,7 +22774,7 @@ echo $ECHO_N "checking for Python librar
py_version=`$PYTHON -c "from distutils.sysconfig import *; \
from string import join; \
print join(get_config_vars('VERSION'))"`
- if test "$py_version" == "None"; then
+ if test "$py_version" = "None"; then
if test -n "$PYTHON_VERSION"; then
py_version=$PYTHON_VERSION
else