summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-04-11 09:33:30 +0000
committeradam <adam@pkgsrc.org>2017-04-11 09:33:30 +0000
commit13ade3995dd3a65c1d78981d0c7371c99c0e94e6 (patch)
treeeb5d9b39bb6ef7719d38b5026efa848a05bfca7c /mail/postfix/Makefile
parent91695d80305bd9e2844d15677c67b97412639d05 (diff)
downloadpkgsrc-13ade3995dd3a65c1d78981d0c7371c99c0e94e6.tar.gz
Fix installation on Darwin:
LD_LIBRARY_PATH is not propagated when set with env, e.g.: env LD_LIBRARY_PATH=path/to/lib ./script.sh will not work (other variable names work correctly).
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r--mail/postfix/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index f9584c88ae0..e0b86ae629d 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.293 2016/10/28 16:10:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.294 2017/04/11 09:33:30 adam Exp $
.include "../../mail/postfix/Makefile.common"
@@ -67,8 +67,7 @@ do-install:
.if !empty(PKG_OPTIONS:Msasl)
${INSTALL_DATA} ${WRKDIR}/smtpd.conf ${DESTDIR}${EXAMPLEDIR}
.endif
- cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/lib sh \
- ./postfix-install -non-interactive \
+ cd ${WRKSRC} && ${SH} ./postfix-install -non-interactive \
${DESTDIR_INSTALLOPTIONS} config_directory="${EXAMPLEDIR}"
${INSTALL_DATA} ${WRKDIR}/mailer.conf \
${DESTDIR}${EXAMPLEDIR}/mailer.conf