Date: Fri, 1 Dec 2017 16:29:36 +0000 (UTC) From: Nikolai Lifanov <lifanov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455300 - head/databases/arangodb32 Message-ID: <201712011629.vB1GTafu040868@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lifanov Date: Fri Dec 1 16:29:35 2017 New Revision: 455300 URL: https://svnweb.freebsd.org/changeset/ports/455300 Log: fix databases/arangodb32 on FreeBSD 10.x o Fix build on FreeBSD 10.x by requiring recent LLVM o Only build on amd64 - many hardcoded directories PR: 223815 Submitted by: galu@packetdam.com (maintainer, same as dev@dudu.ro) Differential Revision: https://reviews.freebsd.org/D13282 Modified: head/databases/arangodb32/Makefile Modified: head/databases/arangodb32/Makefile ============================================================================== --- head/databases/arangodb32/Makefile Fri Dec 1 16:17:40 2017 (r455299) +++ head/databases/arangodb32/Makefile Fri Dec 1 16:29:35 2017 (r455300) @@ -7,12 +7,14 @@ DISTVERSION= 3.2.8 CATEGORIES= databases net PKGNAMESUFFIX= 32 -MAINTAINER= galu@packetdam.com +MAINTAINER= galu@packetdam.com COMMENT= ArangoDB is a distributed NoSQL database with multiple data models LICENSE= APACHE20 -USES= gmake ssl cmake:outsource,noninja python:2.7 +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= "Only builds on amd64" +USES= gmake ssl cmake:outsource,noninja python:2.7 compiler USE_GITHUB= yes CMAKE_ARGS= -DUSE_JEMALLOC:BOOL=off \ @@ -23,6 +25,15 @@ USERS= arangodb GROUPS= arangodb USE_RC_SUBR= arangod +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40 +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang40:devel/llvm40 +CPP= ${LOCALBASE}/bin/clang-cpp40 +CC= ${LOCALBASE}/bin/clang40 +CXX= ${LOCALBASE}/bin/clang++40 +.endif + post-install: .for section in 1 8 ${MV} ${STAGEDIR}${PREFIX}/share/man/man${section}/* ${STAGEDIR}${PREFIX}/man/man${section}/ @@ -38,4 +49,5 @@ post-install: ${RMDIR} ${STAGEDIR}${PREFIX}/var/log/arangodb ${RMDIR} ${STAGEDIR}${PREFIX}/var/log ${RMDIR} ${STAGEDIR}${PREFIX}/var -.include <bsd.port.mk> + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712011629.vB1GTafu040868>