summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-12-18 10:50:33 +0000
committeradam <adam@pkgsrc.org>2021-12-18 10:50:33 +0000
commit0edac28ebd5b20066dd684cd2aa46b652a02104a (patch)
tree0203017d6443b6610e2e9ed6973513b7f45d2503
parent325e965b33e4a4437ca4d6e83be6afa425747fee (diff)
downloadpkgsrc-0edac28ebd5b20066dd684cd2aa46b652a02104a.tar.gz
postfix: add -headerpad_max_install_names for Darwin builds
-rw-r--r--mail/postfix/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/postfix/Makefile.common b/mail/postfix/Makefile.common
index 4e77ddbc7ec..ac2a3823828 100644
--- a/mail/postfix/Makefile.common
+++ b/mail/postfix/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.38 2021/11/08 13:58:09 taca Exp $
+# $NetBSD: Makefile.common,v 1.39 2021/12/18 10:50:33 adam Exp $
# used by mail/postfix/Makefile
# used by mail/postfix/Makefile.module
@@ -121,6 +121,7 @@ CCARGS+= -DNO_NISPLUS
.endif
CFLAGS.SunOS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+LDFLAGS.Darwin+= -headerpad_max_install_names
DESTDIR_INSTALLOPTIONS= -package install_root="${DESTDIR}"