--- Makefile.orig 2012-07-16 09:19:38.000000000 +0400 +++ Makefile 2012-07-16 09:20:17.000000000 +0400 @@ -336,7 +336,7 @@ .if defined(WITH_AUTH_SASL) LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 SEDLIST+= -e 's,^\# (AUTH_CYRUS_SASL=),\1,' \ - -e 's,^\# (AUTH_LIBS=),\1,' + -e 's,^\# (AUTH_LIBS=.*-lsasl2),\1,' .endif .if defined(WITH_AUTH_RADIUS)