Hi,

> http://build-failures.rhaalovely.net/sparc64/2019-12-25/mail/exim,ldap,-eximon.log
(no powerpc/mips64 log yet)

It appears that upstream decided to move to C99 in that version [0].

As such, `-std=gnu99' needs to be used on base-gcc archs. This fixes
the build on macppc [1] and still builds fine on amd64.

Comments/feedback are welcome, 

Charlène.


[0]
https://github.com/Exim/exim/commit/d7978c0f8af20ff4c3f770589b1bb81568aecff3
[1] https://bin.charlenew.xyz/exim.log.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/exim/Makefile,v
retrieving revision 1.128
diff -u -p -u -p -r1.128 Makefile
--- Makefile    16 Dec 2019 14:40:39 -0000      1.128
+++ Makefile    29 Dec 2019 13:48:16 -0000
@@ -4,6 +4,8 @@ COMMENT-main =          flexible mail transfer a
 COMMENT-eximon =       X11 monitor tool for Exim MTA
 
 VERSION =              4.93.0.3
+REVISION-main =                0
+REVISION-eximon =      0
 DISTNAME =             exim-${VERSION}
 PKGNAME-main =         exim-${VERSION}
 FULLPKGNAME-eximon =   exim-eximon-${VERSION}
@@ -36,6 +38,8 @@ RUN_DEPENDS-eximon =  ${PKGPATH},-main
 LIB_DEPENDS-eximon =   devel/pcre
 
 MAKE_FLAGS +=          FULLECHO=
+# Needed to build with base-gcc
+CFLAGS +=              -std=gnu99
 
 PSEUDO_FLAVORS =       no_eximon
 FLAVORS =              mysql postgresql sqlite3 ldap sasl

Reply via email to