From owner-svn-ports-head@FreeBSD.ORG Mon Feb 3 21:55:13 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 713684AA; Mon, 3 Feb 2014 21:55:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF3318AE; Mon, 3 Feb 2014 21:55:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s13LtDZk082043; Mon, 3 Feb 2014 21:55:13 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s13LtDnO082042; Mon, 3 Feb 2014 21:55:13 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402032155.s13LtDnO082042@svn.freebsd.org> From: Antoine Brodin Date: Mon, 3 Feb 2014 21:55:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342473 - head/devel/papi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 21:55:13 -0000 Author: antoine Date: Mon Feb 3 21:55:12 2014 New Revision: 342473 URL: http://svnweb.freebsd.org/changeset/ports/342473 QAT: https://qat.redports.org/buildarchive/r342473/ Log: Checking kern.hwpmc is not enough to see if hwpmc is loaded or not, check kern.hwpmc.nsamples Modified: head/devel/papi/Makefile Modified: head/devel/papi/Makefile ============================================================================== --- head/devel/papi/Makefile Mon Feb 3 21:34:10 2014 (r342472) +++ head/devel/papi/Makefile Mon Feb 3 21:55:12 2014 (r342473) @@ -28,9 +28,9 @@ DEBUGINFO_DESC= Add debug information (i .include -HAS_HWMPC!= ${SYSCTL} kern.hwpmc >/dev/null 2>&1 && echo yes || true +HAS_HWPMC!= ${SYSCTL} kern.hwpmc.nsamples >/dev/null 2>&1 && echo yes || ${ECHO_CMD} -.if ${HAS_HWMPC} != "yes" +.if ${HAS_HWPMC} != yes IGNORE= needs hwmpc module loaded or compiled into the kernel. \ Please consult hwpmc(4) on how to do it (or cat pkg-message) .endif