--- 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