aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-ntfs/files/patch-configure
blob: 39fec4d7e2dca5c57bd818a6f1957a4827daf912 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- configure.orig  2014-02-15 06:07:59.000000000 -0800
+++ configure   2014-04-16 10:11:58.615876540 -0700
@@ -3248,7 +3248,7 @@
 else
 
        case "${target_os}" in
-           linux*) enable_mount_helper="yes" ;;
+           linux*|freebsd*) enable_mount_helper="yes" ;;
            *) enable_mount_helper="no" ;;
        esac
 
@@ -9527,7 +9527,7 @@
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
+    freebsd1.*)
       ld_shlibs=no
       ;;
 
@@ -10402,7 +10402,7 @@
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
+freebsd1.*)
   dynamic_linker=no
   ;;
 
@@ -10413,7 +10413,7 @@
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[123].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -11894,7 +11894,7 @@
        with_fuse="external"
        ;;
    freebsd*)
-       as_fn_error $? "Please see FreeBSD support at http://www.freshports.org/sysutils/fusefs-ntfs" "$LINENO" 5
+       with_fuse="external"
        ;;
    *)
        as_fn_error $? "ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only." "$LINENO" 5
@@ -13967,7 +13967,7 @@
 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