@Wietse. This is the makefile setup that produces the almost working build.
zeus:postfix-3.0.0 robert$ make makefiles CCARGS='-DUSE_SASL_AUTH \ > -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ > > CCARGS="-DUSE_TLS -I/usr/local/include" AUXLIBS="-L/opt/local/lib -lssl > -lcrypto” \ > > CCARGS="-DUSE_SASL -L/usr/include/sasl” \ > > AUXLIBS="-L/usr/lib -lsasl2” ' Here is the first bit of the output from the make that produces the warning. zeus:postfix-3.0.0 robert$ make rm -f meta/main.cf.proto && ln -f conf/main.cf meta/main.cf.proto rm -f meta/master.cf.proto && ln -f conf/master.cf meta/master.cf.proto rm -f meta/postfix-files (if [ "no" = "no" -o "no" = "" ]; then \ sed -e '/^\$shlib_directory/d' \ -e '/dynamicmaps.cf/d' conf/postfix-files; \ elif [ "" = ":" -o "" = "" ]; then \ sed -e '/dynamicmaps.cf/d' \ -e '/^\$shlib_directory\/\${LIB_PREFIX}/d' \ conf/postfix-files | sed -e "s;\${LIB_PREFIX};;" -e "s;\${LIB_SUFFIX};.a;"; \ else \ sed -e "s;\${LIB_PREFIX};;" -e "s;\${LIB_SUFFIX};.a;" conf/postfix-files | awk -F: ' \ BEGIN { \ count = split("'"pcre"'", names, " "); \ for (n = 1; n <= count; n++) \ have["$shlib_directory/" names[n] \ ".a"] = 1; } \ /^[$]shlib_directory./ { \ if (have[$1]) print; next } \ { print } \ '; \ fi) | case "" in \ *) cat;; \ esac > meta/postfix-files grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out rm -f libexec/post-install && ln -f conf/post-install libexec/post-install rm -f libexec/postfix-script && ln -f conf/postfix-script libexec/postfix-script rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper libexec/postfix-wrapper rm -f libexec/postmulti-script && ln -f conf/postmulti-script libexec/postmulti-script set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger; do \ (set -e; echo "[$i]"; cd $i; /Applications/Xcode.app/Contents/Developer/usr/bin/make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment' update MAKELEVEL=) || exit 1; \ done [src/util] cc -I. -I../../include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -g -O -I. -DMACOSX -c alldig.c alldig.c:2:1: warning: '/*' within block comment [-Wcomment] /* NAME ^ alldig.c:3:1: warning: '/*' within block comment [-Wcomment] /* alldig 3 ………………………...so on and so on ………………………………. ./sys_defs.h:1761:1: warning: '/*' within block comment [-Wcomment] /* Yorktown Heights, NY 10598, USA ^ ./sys_defs.h:1762:1: warning: '/*' within block comment [-Wcomment] /*--*/ ^ dict_ni.c:39:10: fatal error: 'netinfo/ni.h' file not found #include <netinfo/ni.h> ^ 47 warnings and 1 error generated. make: *** [dict_ni.o] Error 1 make: *** [update] Error 1 zeus:postfix-3.0.0 robert$ > On 13 Apr 2015, at 12:12, Wietse Venema <wie...@porcupine.org> wrote: > > Robert Chalmers: >> ./sys_defs.h:1761:1: warning: '/*' within block comment [-Wcomment] >> /* Yorktown Heights, NY 10598, USA >> ^ >> ./sys_defs.h:1762:1: warning: '/*' within block comment [-Wcomment] >> /*--*/ > > The Postfix 3.0.0 build procedure issues -Wno-comment which is > supposed to suppresses the above warnings. > > But, you failed to provide an example compiler command line. > >> dict_ni.c:39:10: fatal error: 'netinfo/ni.h' file not found >> #include <netinfo/ni.h> > > The Postfix 3.0.0 build procedure disables the netinfo > client on Darwin 7 (MacOS X 10.3) and later. > > But, you failed to provide an example compiler command line. > > Wietse