From owner-svn-ports-all@freebsd.org Wed Feb 21 10:07:44 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 957BCF198F1; Wed, 21 Feb 2018 10:07:44 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 425D6708F4; Wed, 21 Feb 2018 10:07:44 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C411170F7; Wed, 21 Feb 2018 10:07:44 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1LA7iSr064482; Wed, 21 Feb 2018 10:07:44 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1LA7ihF064481; Wed, 21 Feb 2018 10:07:44 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201802211007.w1LA7ihF064481@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 21 Feb 2018 10:07:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462485 - head/graphics/fig2sxd X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/graphics/fig2sxd X-SVN-Commit-Revision: 462485 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 10:07:44 -0000 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 + +# 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 +.include