diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-04 05:55:12 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-04 05:55:12 +0800 |
commit | f05ac9e6231c8bc2be2330993dafa3cb9b4359c1 (patch) | |
tree | 766514192dc9f02c25061c5fe12aba761eab2b15 /devel | |
parent | f3af7f6221624799d7a0935c91357c59152ebdc7 (diff) | |
download | freebsd-ports-gnome-f05ac9e6231c8bc2be2330993dafa3cb9b4359c1.tar.gz freebsd-ports-gnome-f05ac9e6231c8bc2be2330993dafa3cb9b4359c1.tar.zst freebsd-ports-gnome-f05ac9e6231c8bc2be2330993dafa3cb9b4359c1.zip |
Checking kern.hwpmc is not enough to see if hwpmc is loaded or not, check
kern.hwpmc.nsamples
Diffstat (limited to 'devel')
-rw-r--r-- | devel/papi/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/papi/Makefile b/devel/papi/Makefile index 0ba3c6c3cbf8..8b71a54c01f1 100644 --- a/devel/papi/Makefile +++ b/devel/papi/Makefile @@ -28,9 +28,9 @@ DEBUGINFO_DESC= Add debug information (increased verbosity) .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 |