Summary: | mail/postfix-current: building on 6-Current gives "Unknown system type: FreeBSD 6.0-CURRENT" | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Paul Seniura <pdseniura> |
Component: | Individual Port(s) | Assignee: | Pav Lucistnik <pav> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | vivek |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Paul Seniura
2004-08-20 19:40:20 UTC
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. Dear maintainer of FreeBSD port mail/postfix-current, please take a look at http://www.freebsd.org/cgi/query-pr.cgi?q=70742 What do you think about the included patches? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> The use of the lavatory is restricted to the train's cat. State Changed From-To: open->feedback Asked maintainer for opinion. Responsible Changed From-To: freebsd-ports-bugs->pav Handle. I approve of the patch as an interim solution until such time that Postfix directly supports FreeBSD 6. Thanks. Vivek Khera, Ph.D. +1-301-869-4449 x806 State Changed From-To: feedback->closed Patch committed to CVS, thank you! |