diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-05-11 09:53:20 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-05-11 09:53:20 +0000 |
commit | 928cde1bc0a45c022247287fcf687f9f50a85878 (patch) | |
tree | 2f97095ce245bf91a9e3b9163a67b03850ec001b /mail/exim | |
parent | c16ff4b6cb2409f9963dff265c51d760daccf256 (diff) | |
download | pkgsrc-928cde1bc0a45c022247287fcf687f9f50a85878.tar.gz |
exim: Fix hardcoded CFLAGS breaking SunOS build.
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index e07cb8d46c0..fc9f93e1321 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.185 2021/05/04 20:29:38 abs Exp $ +# $NetBSD: Makefile,v 1.186 2021/05/11 09:53:20 jperkin Exp $ DISTNAME= exim-4.94.2 CATEGORIES= mail net @@ -67,9 +67,11 @@ SUBST_VARS.exim= PKGSRC_EXIM_VERSION SUBST_CLASSES+= cflags SUBST_STAGE.cflags= pre-configure -SUBST_MESSAGE.cflags= Removing hard-coded CFLAGS +SUBST_MESSAGE.cflags= Fixing hard-coded CFLAGS SUBST_FILES.cflags= OS/Makefile-* -SUBST_SED.cflags= -e 's,^CFLAGS=.*,,' +SUBST_SED.cflags= -e '/^CFLAGS=/d' +SUBST_SED.cflags+= -e 's/-D_XOPEN_SOURCE /-D_XOPEN_SOURCE=600 /' +SUBST_SED.cflags+= -e 's/-D_XOPEN_SOURCE_EXTENDED=1 //' INSTALL_ARG= INSTALL_ARG=-no_chown INSTALL_ENV+= ${INSTALL_ARG:Q} |