svn commit: r342473 - head/devel/papi
Antoine Brodin
antoine at FreeBSD.org
Mon Feb 3 21:55:13 UTC 2014
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
More information about the svn-ports-head
mailing list