Package: am-utils
Version: 6.2+rc20110530-3.1
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
Control: block -1 with 737310

Attached patch fixes a few configuration issues to make am-utils build on 
GNU/kFreeBSD.

Unfortunately there are still a few issues in kfreebsd-kernel-headers 
preventing a
succesful build. However I send the patch for am-utils fixes now so that it is 
not
lost/forgotten (feel free to apply it, if you will).

Thanks

-- 
Robert Millan
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/debian/control am-utils-6.2+rc20110530.new/debian/control
--- am-utils-6.2+rc20110530/debian/control	2014-02-01 14:56:51.000000000 +0100
+++ am-utils-6.2+rc20110530.new/debian/control	2014-02-01 13:52:48.885040058 +0100
@@ -2,7 +2,7 @@
 Section: net
 Priority: extra
 Maintainer: Tim Cutts <t...@chiark.greenend.org.uk>
-Build-Depends: debhelper (>= 7.0.0), bison, flex, texlive, texi2html (>= 1.76), texinfo, libgdbm-dev, libwrap0-dev, libhesiod-dev, libldap2-dev, autotools-dev, linux-kernel-headers, po-debconf, autoconf, automake1.9, quilt, libtool, dpkg-dev (>= 1.16.1~)
+Build-Depends: debhelper (>= 7.0.0), bison, flex, texlive, texi2html (>= 1.76), texinfo, libgdbm-dev, libwrap0-dev, libhesiod-dev, libldap2-dev, autotools-dev, po-debconf, autoconf, automake1.9, quilt, libtool, dpkg-dev (>= 1.16.1~)
 Build-Conflicts: autoconf2.13, automake1.4
 Homepage: http://www.am-utils.org/
 Standards-Version: 3.9.2
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_checkmount_style.m4 am-utils-6.2+rc20110530.new/m4/macros/check_checkmount_style.m4
--- am-utils-6.2+rc20110530/m4/macros/check_checkmount_style.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_checkmount_style.m4	2014-02-01 14:05:28.796041014 +0100
@@ -9,7 +9,7 @@
 case "${host_os_name}" in
 	svr4* | sysv4* | solaris2* | sunos5* )
 			ac_cv_style_checkmount=svr4 ;;
-	bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
+	bsd44* | bsdi* | freebsd* | kfreebsd*-gnu | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
 			ac_cv_style_checkmount=bsd44 ;;
 	aix* )
 			ac_cv_style_checkmount=aix ;;
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_mnttab_style.m4 am-utils-6.2+rc20110530.new/m4/macros/check_mnttab_style.m4
--- am-utils-6.2+rc20110530/m4/macros/check_mnttab_style.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_mnttab_style.m4	2014-02-01 14:08:17.356044242 +0100
@@ -9,7 +9,7 @@
 case "${host_os_name}" in
 	aix* )
 			ac_cv_style_mnttab=aix ;;
-	bsd* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
+	bsd* | bsdi* | freebsd* | kfreebsd*-gnu | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
 			ac_cv_style_mnttab=bsd ;;
 	isc3* )
 			ac_cv_style_mnttab=isc3 ;;
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_nfs_fh_dref.m4 am-utils-6.2+rc20110530.new/m4/macros/check_nfs_fh_dref.m4
--- am-utils-6.2+rc20110530/m4/macros/check_nfs_fh_dref.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_nfs_fh_dref.m4	2014-02-01 14:08:50.564042249 +0100
@@ -19,7 +19,7 @@
 		ac_cv_nfs_fh_dref_style=bsd44 ;;
 	# all new BSDs changed the type of the
 	# filehandle in nfs_args from nfsv2fh_t to u_char.
-	freebsd* | freebsdelf* | bsdi* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
+	freebsd* | freebsdelf* | kfreebsd*-gnu | bsdi* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
 		ac_cv_nfs_fh_dref_style=freebsd22 ;;
 	aix[[1-3]]* | aix4.[[01]]* )
 		ac_cv_nfs_fh_dref_style=aix3 ;;
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_nfs_prot_headers.m4 am-utils-6.2+rc20110530.new/m4/macros/check_nfs_prot_headers.m4
--- am-utils-6.2+rc20110530/m4/macros/check_nfs_prot_headers.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_nfs_prot_headers.m4	2014-02-01 14:04:50.668044673 +0100
@@ -33,7 +33,7 @@
 			ac_cv_nfs_prot_headers=bsdi3 ;;
 	freebsd2* )
 			ac_cv_nfs_prot_headers=freebsd2 ;;
-	freebsd* | freebsdelf* )
+	freebsd* | freebsdelf* | kfreebsd*-gnu )
 			ac_cv_nfs_prot_headers=freebsd3 ;;
 	netbsd1.[[0-2]]* )
 			ac_cv_nfs_prot_headers=netbsd ;;
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_nfs_sa_dref.m4 am-utils-6.2+rc20110530.new/m4/macros/check_nfs_sa_dref.m4
--- am-utils-6.2+rc20110530/m4/macros/check_nfs_sa_dref.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_nfs_sa_dref.m4	2014-02-01 14:05:42.348040456 +0100
@@ -13,7 +13,7 @@
 		ac_cv_nfs_sa_dref_style=svr4 ;;
 	386bsd* | bsdi1* )
 		ac_cv_nfs_sa_dref_style=386bsd ;;
-	bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
+	bsd44* | bsdi* | freebsd* | kfreebsd*-gnu | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
 		ac_cv_nfs_sa_dref_style=bsd44 ;;
 	linux* )
 		ac_cv_nfs_sa_dref_style=linux ;;
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_nfs_socket_connection.m4 am-utils-6.2+rc20110530.new/m4/macros/check_nfs_socket_connection.m4
--- am-utils-6.2+rc20110530/m4/macros/check_nfs_socket_connection.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_nfs_socket_connection.m4	2014-02-01 14:06:19.692043019 +0100
@@ -11,7 +11,7 @@
 case "${host_os}" in
 	openbsd2.[[01]]* )
 			ac_cv_nfs_socket_connection=noconn ;;
-	openbsd* | freebsd* | freebsdelf* )
+	openbsd* | freebsd* | freebsdelf* | kfreebsd*-gnu )
 			ac_cv_nfs_socket_connection=conn ;;
 esac
 ])
diff -x ltmain.sh -ur am-utils-6.2+rc20110530/m4/macros/check_umount_style.m4 am-utils-6.2+rc20110530.new/m4/macros/check_umount_style.m4
--- am-utils-6.2+rc20110530/m4/macros/check_umount_style.m4	2011-05-30 10:44:48.000000000 +0200
+++ am-utils-6.2+rc20110530.new/m4/macros/check_umount_style.m4	2014-02-01 14:05:14.668042585 +0100
@@ -9,7 +9,7 @@
 case "${host_os_name}" in
 	linux* )
 			ac_cv_style_umount=linux ;;
-	bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
+	bsd44* | bsdi* | freebsd* | kfreebsd*-gnu | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
 			ac_cv_style_umount=bsd44 ;;
 	osf* )
 			ac_cv_style_umount=osf ;;

Reply via email to