$NetBSD: patch-an,v 1.3 2024/07/22 11:11:45 adam Exp $

--- libgphoto2_port/configure.orig	2024-07-22 10:22:24.254461012 +0000
+++ libgphoto2_port/configure
@@ -18972,7 +18972,7 @@ fi
 if test "x${udevscriptdir}" = "x"; then	udevscriptdir="\${libdir}/udev"; fi
 
 
- if if echo "$host"|grep -i linux >/dev/null ; then test "x$have_LIBUSB" = xyes || test "x$have_LIBUSB1" = xyes; fi ; then
+ if if echo "$host"|grep -i linux >/dev/null ; then test "x$have_LIBUSB" = xyes || test "x$have_LIBUSB1" = xyes; else false; fi ; then
   HAVE_UDEV_TRUE=
   HAVE_UDEV_FALSE='#'
 else
