Date: Sat, 9 May 2015 02:06:44 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385854 - head/databases/pgrouting Message-ID: <201505090206.t4926ifk056058@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> +.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=""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505090206.t4926ifk056058>