ports/sysutils/fusefs-ntfs/files/patch-configure
Alexey Dokuchaev 52eb14cdec sysutils/fusefs-ntfs: clean the port up before functional changes
- Drop needless CPPFLAGS, the build system already knows where to
  find its bits and pieces by itself
- Replace hand-rolled stripping in the `post-install' target with
  appropriate INSTALL_TARGET
- In the configure script, treat FreeBSD as first-class operating
  system and adhere to --with-fuse switch (which we already pass)
- Drop the mount helper-related patch hunk so to not confuse the
  reader as we also pass it on the CONFIGURE_ARGS explicitly
2022-05-26 06:20:16 +00: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