svn commit: r438997 - head/sysutils/osquery
David Thiel
lx at FreeBSD.org
Thu Apr 20 23:01:38 UTC 2017
Author: lx
Date: Thu Apr 20 23:01:36 2017
New Revision: 438997
URL: https://svnweb.freebsd.org/changeset/ports/438997
Log:
Fix build errors on 10.3.
Modified:
head/sysutils/osquery/Makefile
Modified: head/sysutils/osquery/Makefile
==============================================================================
--- head/sysutils/osquery/Makefile Thu Apr 20 22:54:35 2017 (r438996)
+++ head/sysutils/osquery/Makefile Thu Apr 20 23:01:36 2017 (r438997)
@@ -40,6 +40,14 @@ GH_PROJECT= third-party:tp
GH_SUBDIR= third-party:tp
MAKE_JOBS_UNSAFE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100000
+BUILD_DEPENDS+= clang38:devel/llvm38
+CC= clang38
+CXX= clang++38
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/var/osquery/|/var/db/osquery/|g' \
${WRKSRC}/tools/deployment/osquery.example.conf
@@ -58,4 +66,4 @@ do-install:
${MKDIR} ${STAGEDIR}/var/db/osquery
${MKDIR} ${STAGEDIR}/var/log/osquery
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list