Date: Wed, 21 Feb 2018 10:07:44 +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: r462485 - head/graphics/fig2sxd Message-ID: <201802211007.w1LA7ihF064481@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802211007.w1LA7ihF064481>