Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 09:16:47 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462482 - head/archivers/ppmd
Message-ID:  <201802210916.w1L9Gl6u039696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 21 09:16:46 2018
New Revision: 462482
URL: https://svnweb.freebsd.org/changeset/ports/462482

Log:
  Fix build on 12.0-CURRENT after upgrading clang, llvm, lld, lldb, compiler-rt
  and libc++ to 6.0.0 by falling back to gcc.
  
  Notified by:	pkg-fallout

Modified:
  head/archivers/ppmd/Makefile

Modified: head/archivers/ppmd/Makefile
==============================================================================
--- head/archivers/ppmd/Makefile	Wed Feb 21 09:12:34 2018	(r462481)
+++ head/archivers/ppmd/Makefile	Wed Feb 21 09:16:46 2018	(r462482)
@@ -14,10 +14,17 @@ PLIST_FILES=	bin/ppmd man/man1/ppmd.1.gz
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+# does not compile with clang 6.0.0
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056
+USE_GCC=	yes
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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