Package: postfix
Version: 2.7.0-1
Severity: important

Build on the kfreebsd-i386 architecture using the kernel from FreeBSD 8.0,
(from the package "kfreebsd-image-8.0-1-686-smp" in testing) fails
with this error:

ATTENTION:
ATTENTION: Unknown system type: GNU/kFreeBSD 8.0-1-686-smp
ATTENTION:

This is because makedefs uses this regexp in a case statement

     GNU.0*|GNU/kFreeBSD.[567]*)

which does not include the "8" as a possible option.


The following trivial patch fixes it:

diff -ru postfix-2.7.0.original/makedefs postfix-2.7.0/makedefs
--- postfix-2.7.0.original/makedefs     2010-02-03 21:58:58.000000000 +0100
+++ postfix-2.7.0/makedefs      2010-04-04 18:03:29.607205482 +0200
@@ -334,7 +334,7 @@
                       fi;;
                esac
                ;;
-     GNU.0*|GNU/kFreeBSD.[567]*)
+     GNU.0*|GNU/kFreeBSD.[5678]*)
                SYSTYPE=GNU0
                # Postfix no longer needs DB 1.85 compatibility
                if [ -f /usr/include/db.h ]


Thanks.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to