summaryrefslogtreecommitdiff
path: root/filesystems/ntfs/files/patch-configure
blob: cee7cc4a9090b671b55a4540d4e383465a27f53c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- 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