svn commit: r513664 - head/mail/fetchmail

Matthias Andree mandree at FreeBSD.org
Thu Oct 3 13:46:24 UTC 2019


Author: mandree
Date: Thu Oct  3 13:46:23 2019
New Revision: 513664
URL: https://svnweb.freebsd.org/changeset/ports/513664

Log:
  Limit USES+=compiler:c11 to powerpc* and FreeBSD < 13.
  
  MIPS regressed in r513614 because it does not have a C11
  compiler. Fetchmail 6.4.1 is C89 code, one patch we provide
  makes it C99 (it requires the long long int type).
  
  The base compiler on powerpc 11/12 does not yield an executable,
  but MIPS on the other hand does not offer a C11 compiler,
  so for now, revert anything but powerpc before FreeBSD 13
  to use its base compiler.  FreeBSD 13 is exempt and also uses
  the base compiler, because the ARCH guys intend to merge LLVM 9
  soon.
  
  PR:		241031
  Reviewed by:	pkubaj@
  Approved by:	blanket (fix recent regression from r513614)

Modified:
  head/mail/fetchmail/Makefile

Modified: head/mail/fetchmail/Makefile
==============================================================================
--- head/mail/fetchmail/Makefile	Thu Oct  3 12:50:38 2019	(r513663)
+++ head/mail/fetchmail/Makefile	Thu Oct  3 13:46:23 2019	(r513664)
@@ -15,7 +15,7 @@ LICENSE_COMB=	dual
 .if empty(MASTERDIR)
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
-USES=		compiler:c11 cpe gmake tar:xz ssl
+USES=		cpe gmake tar:xz ssl
 
 USERS=		${PORTNAME}
 GROUPS=		${USERS}
@@ -82,4 +82,13 @@ post-install-DOCS-on:
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .endif
-.include <bsd.port.mk>
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Mpowerpc*} && ${OSREL:R} < 13
+# as of 2019-10-02, powerpc's base compiler does not yield a working fetchmail.
+# https://svnweb.freebsd.org/ports?view=revision&revision=513614 -- pkubaj@
+USE_GCC=	yes
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list