pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/postfix



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Dec 15 20:54:00 UTC 2021

Modified Files:
        pkgsrc/mail/postfix: Makefile options.mk

Log Message:
postfix: fix install on macOS


To generate a diff of this commit:
cvs rdiff -u -r1.332 -r1.333 pkgsrc/mail/postfix/Makefile
cvs rdiff -u -r1.42 -r1.43 pkgsrc/mail/postfix/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/postfix/Makefile
diff -u pkgsrc/mail/postfix/Makefile:1.332 pkgsrc/mail/postfix/Makefile:1.333
--- pkgsrc/mail/postfix/Makefile:1.332  Wed Dec  8 16:05:29 2021
+++ pkgsrc/mail/postfix/Makefile        Wed Dec 15 20:54:00 2021
@@ -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 @@ 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

Index: pkgsrc/mail/postfix/options.mk
diff -u pkgsrc/mail/postfix/options.mk:1.42 pkgsrc/mail/postfix/options.mk:1.43
--- pkgsrc/mail/postfix/options.mk:1.42 Sat Aug 14 08:58:20 2021
+++ pkgsrc/mail/postfix/options.mk      Wed Dec 15 20:54:00 2021
@@ -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 @@ AUXLIBS+=     -L${BUILDLINK_PREFIX.icu}/lib 
 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