Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2019 13:46:23 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513664 - head/mail/fetchmail
Message-ID:  <201910031346.x93DkN45016493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910031346.x93DkN45016493>