From owner-svn-ports-head@FreeBSD.ORG Sat May 9 02:06:44 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43A0C463; Sat, 9 May 2015 02:06:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 31A661F0A; Sat, 9 May 2015 02:06:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4926iET056059; Sat, 9 May 2015 02:06:44 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4926ifk056058; Sat, 9 May 2015 02:06:44 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201505090206.t4926ifk056058@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 9 May 2015 02:06:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385854 - head/databases/pgrouting 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.20 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: Sat, 09 May 2015 02:06:44 -0000 Author: amdmi3 Date: Sat May 9 02:06:43 2015 New Revision: 385854 URL: https://svnweb.freebsd.org/changeset/ports/385854 Log: - Fix build on 10.x by using newer clang PR: 200037 Submitted by: amdmi3 Approved by: coder@tuxfamily.org (maintainer) Modified: head/databases/pgrouting/Makefile Modified: head/databases/pgrouting/Makefile ============================================================================== --- head/databases/pgrouting/Makefile Sat May 9 02:04:06 2015 (r385853) +++ head/databases/pgrouting/Makefile Sat May 9 02:06:43 2015 (r385854) @@ -18,7 +18,7 @@ LIB_DEPENDS= libboost_system.so:${PORTSD libgmp.so:${PORTSDIR}/math/gmp RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:${PORTSDIR}/databases/postgis21 -USES= cmake pgsql pkgconfig +USES= compiler:features cmake pgsql pkgconfig USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include @@ -26,6 +26,13 @@ LDFLAGS+= -L${LOCALBASE}/lib .include +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 +BUILD_DEPENDS+= clang36:${PORTSDIR}/lang/clang36 +CPP= clang-cpp36 +CC= clang36 +CXX= clang++36 +.endif + .if ${PGSQL_VER} >= 9.1 PLIST_SUB+= OLDPG="@comment " NEWPG=""