pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix postfix: fix install on macOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2dc980614789
branches:  trunk
changeset: 771242:2dc980614789
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 15 20:54:00 2021 +0000

description:
postfix: fix install on macOS

diffstat:

 mail/postfix/Makefile   |  6 ++++--
 mail/postfix/options.mk |  5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 5f47c86a3dfd -r 2dc980614789 mail/postfix/Makefile
--- a/mail/postfix/Makefile     Wed Dec 15 20:42:13 2021 +0000
+++ b/mail/postfix/Makefile     Wed Dec 15 20:54:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.332 2021/12/08 16:05:29 adam Exp $
+# $NetBSD: Makefile,v 1.333 2021/12/15 20:54:00 adam Exp $
 
 PKGREVISION= 1
 .include "../../mail/postfix/Makefile.common"
@@ -68,7 +68,9 @@
 .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
diff -r 5f47c86a3dfd -r 2dc980614789 mail/postfix/options.mk
--- a/mail/postfix/options.mk   Wed Dec 15 20:42:13 2021 +0000
+++ b/mail/postfix/options.mk   Wed Dec 15 20:54:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.42 2021/08/14 08:58:20 taca Exp $
+# $NetBSD: options.mk,v 1.43 2021/12/15 20:54:00 adam Exp $
 
 # Global and legacy options
 
@@ -64,6 +64,7 @@
 CCARGS+=       -DNO_EAI
 
 post-install:
-       cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/lib bin/postconf    \
+       cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/lib \
+               DYLD_LIBRARY_PATH=${WRKSRC}/lib bin/postconf \
                -c ${DESTDIR}${EXAMPLEDIR} smtputf8_enable=no
 .endif



Home | Main Index | Thread Index | Old Index