svn commit: r462485 - head/graphics/fig2sxd

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 21 10:07:44 UTC 2018


Author: ehaupt
Date: Wed Feb 21 10:07:43 2018
New Revision: 462485
URL: https://svnweb.freebsd.org/changeset/ports/462485

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/graphics/fig2sxd/Makefile

Modified: head/graphics/fig2sxd/Makefile
==============================================================================
--- head/graphics/fig2sxd/Makefile	Wed Feb 21 10:05:11 2018	(r462484)
+++ head/graphics/fig2sxd/Makefile	Wed Feb 21 10:07:43 2018	(r462485)
@@ -16,6 +16,13 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	bin/fig2sxd man/man1/fig2sxd.1.gz
 
+.include <bsd.port.pre.mk>
+
+# does not compile with clang 6.0.0
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056
+USE_GCC=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
@@ -25,4 +32,4 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list