trying to emerge postfix the build fails reporting ATTENTION: Unknown system type: FreeBSD 9.0-r3-Gentoo Reproducible: Always Steps to Reproduce: 1.emerge postfix 2. 3. Actual Results: >>> Configuring source in /var/tmp/portage/mail-mta/postfix-2.9.3/work/postfix-2.9.3 ... gmake -j 8 DEBUG= CC=x86_64-gentoo-freebsd9.0-gcc 'OPT=-O2 -pipe -Wno-comment' 'CCARGS=-DHAS_PCRE -DHAS_LDAP -DUSE_TLS -DUSE_LDAP_SASL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'AUXLIBS= -lpcre -lcrypt -lpthread -lpam -lldap -llber -lssl -lcrypto -lsasl2' makefiles gmake -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp ATTENTION: ATTENTION: Unknown system type: FreeBSD 9.0-r3-Gentoo ATTENTION: Expected Results: emerge completes
From The ChangeLog: 20120225 [...] FreeBSD9 is now a supported platform. Files: makedefs, util/sys_defs.h. Try postfix-2.10_pre versions or wait for the next 2.9 release.
I did a quick workaround cloning the FREEBSD8 lines in makedefs script just to make it compile. Should I use the masked 2.10_pre or is it safe to stick with my hacked one?
Created attachment 315761 [details, diff] postfix-freebsd9.patch (In reply to comment #2) > I did a quick workaround cloning the FREEBSD8 lines in makedefs script just > to make it compile. Upstream patch is attached if you want to compare it with your workaround. > Should I use the masked 2.10_pre or is it safe to stick > with my hacked one? Up to you. Both should be OK. If you do not want to upgrade frequently, stick with 2.9.x.
Ok, I created an interim patch to my ebuild for 2.9.3. Many thanks
(In reply to comment #3) > Created attachment 315761 [details, diff] [details, diff] > postfix-freebsd9.patch > > (In reply to comment #2) > > I did a quick workaround cloning the FREEBSD8 lines in makedefs script just > > to make it compile. > > Upstream patch is attached if you want to compare it with your workaround. Would you mind if I commit and apply the patch for -2.9.3?
(In reply to comment #5) > Would you mind if I commit and apply the patch for -2.9.3? No, please go ahead. I am on vacation. Otherwise, I could have done it myself.
(In reply to comment #6) > (In reply to comment #5) > > Would you mind if I commit and apply the patch for -2.9.3? > > No, please go ahead. I am on vacation. Otherwise, I could have done it > myself. Thanks. Patch added to the tree.