Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id BB4F41A9239 for ; Wed, 15 Dec 2021 20:54:02 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id EE44484F1B; Wed, 15 Dec 2021 20:54:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 32D5884E78 for ; Wed, 15 Dec 2021 20:54:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id LIEnZQ_sbuLj for ; Wed, 15 Dec 2021 20:54:00 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9002F84CE2 for ; Wed, 15 Dec 2021 20:54:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7D2E8FAEC; Wed, 15 Dec 2021 20:54:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1639601640203080" MIME-Version: 1.0 Date: Wed, 15 Dec 2021 20:54:00 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/mail/postfix To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211215205400.7D2E8FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1639601640203080 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1639601640203080 Content-Disposition: inline Content-Length: 1684 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1639601640203080--