Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 23:01:37 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438997 - head/sysutils/osquery
Message-ID:  <201704202301.v3KN1b50046664@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704202301.v3KN1b50046664>