Date: Mon, 3 Feb 2014 21:55:13 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342473 - head/devel/papi Message-ID: <201402032155.s13LtDnO082042@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402032155.s13LtDnO082042>