freebsd-ports/comms/usbmuxd/files/patch-configure.ac
Jason E. Hale 52457ab47a comms/usbmuxd: Add optional devd(8) configuration file to start and stop the
daemon as devices are attached and detached, respectively. (On by default)

Add GIDs/UIDs for usbmuxd to facilitate use with devd(8).

Patch configure.ac instead of configure since we are using autoreconf. Merge
post-patch target into this new patch for a cleaner Makefile.
2021-02-06 18:04:55 +00:00

24 lines
888 B
Text

Remove bash-ism from configure script.
Disable udev/systemd detection for *BSD as the catch-all assumes a Linux
system. A configuration file for devd(8) is provided by this port instead.
--- configure.ac.orig 2020-06-09 02:57:16 UTC
+++ configure.ac
@@ -36,7 +36,7 @@ if test "x$have_limd" = "xyes"; then
AC_SUBST(libimobiledevice_CFLAGS)
AC_SUBST(libimobiledevice_LIBS)
CACHED_CFLAGS="$CFLAGS"
- CFLAGS+=" $libimobiledevice_CFLAGS"
+ CFLAGS="$CFLAGS $libimobiledevice_CFLAGS"
AC_CACHE_CHECK(for enum idevice_connection_type, ac_cv_enum_idevice_connection_type,
AC_TRY_COMPILE([
#include <libimobiledevice/libimobiledevice.h>
@@ -125,7 +125,7 @@ case ${host_os} in
AC_SUBST(WINDRES)
activation_method="manual"
;;
- darwin*)
+ darwin*|dragonfly*|*bsd*)
win32=false
AC_MSG_RESULT([no])
# No support for launchd yet