Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/mail/postfix/Makefile 2020/11/22 11:14:44 1.325 +++ pkgsrc/mail/postfix/Makefile 2024/11/01 12:53:23 1.348 @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.325 2020/11/22 11:14:44 adam Exp $ +# $NetBSD: Makefile,v 1.348 2024/11/01 12:53:23 wiz Exp $ +PKGREVISION= 2 .include "../../mail/postfix/Makefile.common" COMMENT= Fast, easy to administer, and secure mail transfer agent @@ -67,7 +68,9 @@ do-install: .if !empty(PKG_OPTIONS:Msasl) ${INSTALL_DATA} ${WRKDIR}/smtpd.conf ${DESTDIR}${EXAMPLEDIR} .endif - cd ${WRKSRC} && ${SH} ./postfix-install -non-interactive \ + cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/lib \ + DYLD_LIBRARY_PATH=${WRKSRC}/lib \ + ${SH} ./postfix-install -non-interactive \ ${DESTDIR_INSTALLOPTIONS} config_directory="${EXAMPLEDIR}" ${INSTALL_DATA} ${WRKDIR}/mailer.conf \ ${DESTDIR}${EXAMPLEDIR}/mailer.conf