[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netatalk-devel
Subject:    Re: [Netatalk-devel] GNU/kFreeBSD build fix doesn't work
From:       Frank Lahm <franklahm () googlemail ! com>
Date:       2011-08-29 7:23:01
Message-ID: CAAKMPqU7DFSqyxCwSW0=ai+P9UB=1M=nWxm=Jzp5b-EF5D_7oA () mail ! gmail ! com
[Download RAW message or body]

2011/8/29 Patrick Coulthard <pmcoulthard@yahoo.com>:
> The recently commited fix for building on GNU/kFreeBSD
> (commit c8c8413912) does not resolve the build errors. The applied patch
> =C2=A0checks if $this_os matches *kfreebsd_gnu*, but $this_os has already
> been defined to just "freebsd" a few lines above. Changing this to a sepa=
rate
> =C2=A0case statement checking $host_os should work.

does this work ?

-f

["kfreebsd-gnu.patch" (application/octet-stream)]

commit f6fde09f419bfd928889c8287dcab17f48400c0a
Author: Frank Lahm <franklahm@googlemail.com>
Date:   Mon Aug 29 09:17:14 2011 +0200

    Fix for detecting kfreebsd-gnu

diff --git a/configure.in b/configure.in
index d78cfa5..771b9a4 100644
--- a/configure.in
+++ b/configure.in
@@ -541,7 +541,14 @@ dnl ac_cv_target_os is now host_os, ac_cv_target_cpu is now host_cpu
 dnl --------------------- determine operating system from "target"
 case "$host_os" in
 	*aix*)				this_os=aix ;;
-	*freebsd*) 			this_os=freebsd ;;
+	*freebsd*)
+        this_os=freebsd
+        case "$host_os" in
+             *kfreebsd-gnu*)
+                this_os=kfreebsd-gnu
+                ;;
+        esac
+        ;;
 	*hpux11*)			this_os=hpux11 ;;
 	*irix*)				this_os=irix ;;
 	*linux*)   			this_os=linux ;;


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev

_______________________________________________
Netatalk-devel mailing list
Netatalk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netatalk-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic