From owner-svn-ports-all@freebsd.org Thu Apr 20 23:01:38 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E048D48E94; Thu, 20 Apr 2017 23:01:38 +0000 (UTC) (envelope-from lx@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3BF3FB1; Thu, 20 Apr 2017 23:01:37 +0000 (UTC) (envelope-from lx@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3KN1bKO046665; Thu, 20 Apr 2017 23:01:37 GMT (envelope-from lx@FreeBSD.org) Received: (from lx@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3KN1b50046664; Thu, 20 Apr 2017 23:01:37 GMT (envelope-from lx@FreeBSD.org) Message-Id: <201704202301.v3KN1b50046664@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lx set sender to lx@FreeBSD.org using -f From: David Thiel Date: Thu, 20 Apr 2017 23:01:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438997 - head/sysutils/osquery X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 23:01:38 -0000 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 + +.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 +.include