Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 21:57:29 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415915 - head/print/fontforge
Message-ID:  <201605262157.u4QLvTJ3039679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# 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 <bsd.port.post.mk>



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