summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-03-25 10:47:24 +0000
committernia <nia@pkgsrc.org>2021-03-25 10:47:24 +0000
commitf312093972be36845135ad85196a8635bae0bf89 (patch)
treecca45571c657903b4916c97411d2758efdf7f33f /comms
parent4458b95e50a6ef21ed14cfad7b12e11f1358cb92 (diff)
downloadpkgsrc-f312093972be36845135ad85196a8635bae0bf89.tar.gz
Fix autoconf fallout.
Diffstat (limited to 'comms')
-rw-r--r--comms/libhidapi/distinfo4
-rw-r--r--comms/libhidapi/patches/patch-configure.ac22
2 files changed, 17 insertions, 9 deletions
diff --git a/comms/libhidapi/distinfo b/comms/libhidapi/distinfo
index bf37f80a303..a1b2b8b7200 100644
--- a/comms/libhidapi/distinfo
+++ b/comms/libhidapi/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2019/07/08 12:52:42 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/03/25 10:47:24 nia Exp $
SHA1 (hidapi-0.9.0.tar.gz) = 185700ba358bd8d1bd2a21291a448c7bf76d277e
RMD160 (hidapi-0.9.0.tar.gz) = 1b8a2051fc2b5de284785661269fde2d4c2cbf38
SHA512 (hidapi-0.9.0.tar.gz) = d9f28d394b78daece7d2dfb946e62349a56b388b3a06241585c6fad5a4e24dc914723de6c0f12a9e51cd23fb245f6b5ac9b3721319646d5ba5912bbe0a3f9a52
Size (hidapi-0.9.0.tar.gz) = 112963 bytes
SHA1 (patch-Makefile.am) = 8e39fc4650601af39c510107ca2b3c85029fb2df
-SHA1 (patch-configure.ac) = 4926a26ec43ea113cb873708e0943f53ed0229d9
+SHA1 (patch-configure.ac) = ddc85e7421f79ef7d037223802292ed27fbdfdaf
SHA1 (patch-libusb_Makefile.am) = 4e325f56caff55f6e3b26948a43afd3f30606cd7
diff --git a/comms/libhidapi/patches/patch-configure.ac b/comms/libhidapi/patches/patch-configure.ac
index bd7614fd548..da68d034656 100644
--- a/comms/libhidapi/patches/patch-configure.ac
+++ b/comms/libhidapi/patches/patch-configure.ac
@@ -1,12 +1,20 @@
-$NetBSD: patch-configure.ac,v 1.1 2019/07/08 12:52:42 nia Exp $
+$NetBSD: patch-configure.ac,v 1.2 2021/03/25 10:47:24 nia Exp $
-Always use pkg-config to find libusb1.
-
-Support NetBSD.
+- Fix syntax for autoconf-2.71
+- Always use pkg-config to find libusb1.
+- Support NetBSD.
--- configure.ac.orig 2019-06-19 10:34:38.000000000 +0000
+++ configure.ac
-@@ -92,9 +92,10 @@ case $host in
+@@ -20,7 +20,6 @@ LTLDFLAGS="-version-info ${lt_current}:$
+
+ AC_CONFIG_MACRO_DIR([m4])
+ AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+-AC_CONFIG_MACRO_DIR([m4])
+
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+ LT_INIT
+@@ -92,9 +91,10 @@ case $host in
CFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
LIBS="${LIBS}"
@@ -19,7 +27,7 @@ Support NetBSD.
;;
*-kfreebsd*)
AC_MSG_RESULT([ (kFreeBSD back-end)])
-@@ -104,8 +105,25 @@ case $host in
+@@ -104,8 +104,25 @@ case $host in
os="kfreebsd"
threads="pthreads"
@@ -47,7 +55,7 @@ Support NetBSD.
;;
*-mingw*)
AC_MSG_RESULT([ (Windows back-end, using MinGW)])
-@@ -213,6 +231,7 @@ AM_CONDITIONAL(OS_LINUX, test "x$os" = x
+@@ -213,6 +230,7 @@ AM_CONDITIONAL(OS_LINUX, test "x$os" = x
AM_CONDITIONAL(OS_DARWIN, test "x$os" = xdarwin)
AM_CONDITIONAL(OS_FREEBSD, test "x$os" = xfreebsd)
AM_CONDITIONAL(OS_KFREEBSD, test "x$os" = xkfreebsd)