pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/exim



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 11 09:53:20 UTC 2021

Modified Files:
        pkgsrc/mail/exim: Makefile

Log Message:
exim: Fix hardcoded CFLAGS breaking SunOS build.


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 pkgsrc/mail/exim/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/exim/Makefile
diff -u pkgsrc/mail/exim/Makefile:1.185 pkgsrc/mail/exim/Makefile:1.186
--- pkgsrc/mail/exim/Makefile:1.185     Tue May  4 20:29:38 2021
+++ pkgsrc/mail/exim/Makefile   Tue May 11 09:53:20 2021
@@ -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}



Home | Main Index | Thread Index | Old Index