svn commit: r455300 - head/databases/arangodb32
Nikolai Lifanov
lifanov at FreeBSD.org
Fri Dec 1 16:29:37 UTC 2017
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 at packetdam.com (maintainer, same as dev at 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 at packetdam.com
+MAINTAINER= galu at 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>
More information about the svn-ports-all
mailing list