Googling around, a few suggestions seem to be
make -f Makefile.init makefiles CCARGS='-DUSE_SASL_AUTH -I/sw/include/sasl
-DUSE_TLS -I/usr/include/openssl -DUSE_CYRUS_SASL -I/usr/local/lib/sasl2
-DHAS_SSL -I/usr/local/ssl/include/openssl' AUXLIBS='-L/usr/lib -lldap
-L/usr/lib -llber -L/usr/lib -lsasl2 -lssl'
I tried this, and the last few lines of make are:
FO -DNO_KQUEUE -DHAS_PCRE -I/sw/include -g -O -I. -I../../include -DMACOSX -c
smtpd_resolve.c
cc -DUSE_SASL_AUTH -I/sw/include/sasl -DUSE_TLS -I/usr/include/openssl
-DUSE_CYRUS_SASL -I/usr/local/lib/sasl2 -DHAS_SSL
-I/usr/local/ssl/include/openssl -DBIND_8_COMPAT -DNO_NETINFO -DNO_KQUEUE
-DHAS_PCRE -I/sw/include -g -O -I. -I../../include -DMACOSX -o smtpd smtpd.o
smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o smtpd_peer.o
smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o smtpd_xforward.o
smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o ../../lib/libmaster.a
../../lib/libtls.a ../../lib/libdns.a ../../lib/libxsasl.a
../../lib/libmilter.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib
-lldap -L/usr/lib -llber -L/usr/lib -lsasl2 -lssl -L/sw/lib -lpcre
-flat_namespace
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_sasl_set_path
Am I on the right path? Any suggestions?
Thanks. :)