ports/70742: mail/postfix-current: building on 6-Current gives "Unknown system type: FreeBSD 6.0-CURRENT"
Paul Seniura
pdseniura at techie.com
Fri Aug 20 20:50:25 UTC 2004
The following reply was made to PR ports/70742; it has been noted by GNATS.
From: "Paul Seniura" <pdseniura at techie.com>
To: <FreeBSD-gnats-submit at freebsd.org>
Cc: <vivek at khera.org>
Subject: Re: ports/70742: mail/postfix-current: building on 6-Current gives "Unknown system type: FreeBSD 6.0-CURRENT"
Date: Fri, 20 Aug 2004 15:37:33 -0500 (CDT)
I had to clean the work/ subdir, those .dot-files were
out of sync with what portupgrade wanted to do.
Now these patches will apply cleanly and the build on
6-current gcc342 went okay. This is a development
workstation so postfix only gets used as a e-mail client
so it's not tested much.
Basically we're "lying" to postfix's makedefs by telling
it FreeBSD.6 is just like FreeBSD.5. ;)
I didn't know which makedefs_* to change, so I made them
all have a FreeBSD.6 entry. In case these separate
makedefs change in the future, I whipped-up a separate
files/ patch for each one. (Yes they all look the same
now -- but later, who knows?)
If these patches work for everyone, would someone be
able to send them up-stream to the project, please?
new file: files/patch-makedefs
===cut-here===
--- makedefs_orig Tue Jun 15 16:41:45 2004
+++ makedefs Fri Aug 20 15:06:41 2004
@@ -93,6 +93,8 @@
;;
FreeBSD.5*) SYSTYPE=FREEBSD5
;;
+ FreeBSD.6*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
===cut-here===
new file: files/patch-makedefs_snapshot
===cut-here===
--- makedefs.snapshot_orig Wed Apr 14 14:18:06 2004
+++ makedefs.snapshot Fri Aug 20 15:08:54 2004
@@ -93,6 +93,8 @@
;;
FreeBSD.5*) SYSTYPE=FREEBSD5
;;
+ FreeBSD.6*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
===cut-here===
new file: files/patch-makedefs_stable
===cut-here===
--- makedefs.stable_orig Wed Apr 14 13:59:43 2004
+++ makedefs.stable Fri Aug 20 15:10:13 2004
@@ -93,6 +93,8 @@
;;
FreeBSD.5*) SYSTYPE=FREEBSD5
;;
+ FreeBSD.6*) SYSTYPE=FREEBSD5
+ ;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
===cut-here===
-- thx, Paul Seniura.
More information about the freebsd-ports-bugs
mailing list