opnsense-ports/filesystems/ntfs/files/patch-configure
Franco Fichtner a2caadc357 */*: sync with upstream
Taken from: FreeBSD
2024-11-07 11:56:40 +01:00

30 lines
1 KiB
Text

--- configure.orig 2017-03-23 09:42:56 UTC
+++ configure
@@ -12871,7 +12871,7 @@ $as_echo_n "checking fuse compatibility... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking fuse compatibility" >&5
$as_echo_n "checking fuse compatibility... " >&6; }
case "${target_os}" in
- linux*|solaris*)
+ freebsd*|linux*|solaris*)
# Check whether --with-fuse was given.
if test "${with_fuse+set}" = set; then :
@@ -12885,9 +12885,6 @@ fi
darwin*|netbsd*|kfreebsd*-gnu)
with_fuse="external"
;;
- freebsd*)
- as_fn_error $? "Please see FreeBSD support at http://www.freshports.org/sysutils/fusefs-ntfs" "$LINENO" 5
- ;;
*)
as_fn_error $? "ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only." "$LINENO" 5
;;
@@ -15177,7 +15174,7 @@ fi
fi
# Settings
-pkgconfigdir="\$(libdir)/pkgconfig"
+pkgconfigdir="\$(prefix)/libdata/pkgconfig"
ntfs3gincludedir="\$(includedir)/ntfs-3g"
# Executables should be installed to the root filesystem, otherwise
# automounting NTFS volumes can fail during boot if the driver binaries