From owner-svn-ports-head@freebsd.org Thu May 26 21:57:30 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A090AB4C8AA; Thu, 26 May 2016 21:57:30 +0000 (UTC) (envelope-from mandree@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 mx1.freebsd.org (Postfix) with ESMTPS id 72906123C; Thu, 26 May 2016 21:57:30 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4QLvT3B039680; Thu, 26 May 2016 21:57:29 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4QLvTJ3039679; Thu, 26 May 2016 21:57:29 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201605262157.u4QLvTJ3039679@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Thu, 26 May 2016 21:57:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415915 - head/print/fontforge X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 21:57:30 -0000 Author: mandree Date: Thu May 26 21:57:29 2016 New Revision: 415915 URL: https://svnweb.freebsd.org/changeset/ports/415915 Log: Fix build on HEAD-i386, using clang 3.6, not newer. PR: 204175 Submitted by: Hiroo Ono Reported by: Ivan Klymenko Approved by: Naram Qashat (maintainer) Modified: head/print/fontforge/Makefile Modified: head/print/fontforge/Makefile ============================================================================== --- head/print/fontforge/Makefile Thu May 26 20:28:55 2016 (r415914) +++ head/print/fontforge/Makefile Thu May 26 21:57:29 2016 (r415915) @@ -26,7 +26,8 @@ LIB_DEPENDS= libuninameslist.so:textproc USE_GITHUB= yes USES= autoreconf:build desktop-file-utils execinfo gettext gmake iconv \ - jpeg libtool pkgconfig python shared-mime-info shebangfix + jpeg libtool pkgconfig python shared-mime-info shebangfix \ + compiler SHEBANG_FILES= pycontrib/gdraw/__init__.py \ pycontrib/gdraw/gdraw.py USE_XORG= ice x11 xi xkbui @@ -80,4 +81,14 @@ pre-configure: ${LOCALBASE}/bin/gnulib-tool --aux-dir=config --m4-base=m4 --libtool --symlink --import $${gnulib_modules}' ; \ export LIBTOOLIZE=true ; ${AUTORECONF} -f -i) -.include +.include + +# waiting for the llvm bug to fix. http://llvm.org/bugs/show_bug.cgi?id=21903 +.if ${ARCH} == i386 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} > 36 +BUILD_DEPENDS+= clang36:lang/clang36 +CPP= clang-cpp36 +CC= clang36 +CXX= clang++36 +.endif + +.include