Package: sg3-utils
Version: 1.27-0.1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

This is follow-up to #519460. The new upstream release 1.27
changed the building system, it does not cover GNU/kFreeBSD.
Please apply patch bellow and run "autoreconf -vfi".

It would also be nice if you can ask upstream
to include this change of configure.ac.

Thanks in advance

                        Petr



--- configure.ac
+++ configure.ac
@@ -37,7 +37,7 @@
         *-*-linux*)
                AC_DEFINE_UNQUOTED(SG3_UTILS_LINUX, 1, [sg3_utils on linux])
                 AC_SUBST([os_libs], ['']) ;;
-        *-*-freebsd*)
+        *-*-freebsd*|*-*-kfreebsd*-gnu*)
                AC_DEFINE_UNQUOTED(SG3_UTILS_FREEBSD, 1, [sg3_utils on FreeBSD])
                 AC_SUBST([os_libs], ['-lcam']);;
         *-*-solaris*)
@@ -59,7 +59,7 @@
 esac

 # Define platform-specific symbol.
-AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep '^freebsd' > /dev/null])
+AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep 'freebsd' > /dev/null])
 AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
 AM_CONDITIONAL(OS_OSF, [echo $host_os | grep '^osf' > /dev/null])
 AM_CONDITIONAL(OS_SOLARIS, [echo $host_os | grep '^solaris' > /dev/null])




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to