pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/exim exim: Fix hardcoded CFLAGS breaking SunOS bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/585c06a50ce4
branches:  trunk
changeset: 452468:585c06a50ce4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 11 09:53:20 2021 +0000

description:
exim: Fix hardcoded CFLAGS breaking SunOS build.

diffstat:

 mail/exim/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 85853906f1c9 -r 585c06a50ce4 mail/exim/Makefile
--- a/mail/exim/Makefile        Tue May 11 09:24:17 2021 +0000
+++ b/mail/exim/Makefile        Tue May 11 09:53:20 2021 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index