aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmhm
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-03-18 00:54:28 +0800
committerarved <arved@FreeBSD.org>2007-03-18 00:54:28 +0800
commit2ca1b4ccc46b1e025006f78b36bf14fb1aea9018 (patch)
tree957f3e7a866cad5331388c5e35d6846d9de97950 /sysutils/wmhm
parent502b0fe54f0f39a14a37c8f903f85c9e09fe3cbe (diff)
downloadfreebsd-ports-graphics-2ca1b4ccc46b1e025006f78b36bf14fb1aea9018.tar.gz
freebsd-ports-graphics-2ca1b4ccc46b1e025006f78b36bf14fb1aea9018.tar.zst
freebsd-ports-graphics-2ca1b4ccc46b1e025006f78b36bf14fb1aea9018.zip
Fix build on amd64 and convert BROKEN to ONLY_FOR_ARCHS, because it
requires speaker(4). portlint pkg-descr
Diffstat (limited to 'sysutils/wmhm')
-rw-r--r--sysutils/wmhm/Makefile6
-rw-r--r--sysutils/wmhm/files/patch-ac16
-rw-r--r--sysutils/wmhm/pkg-descr5
3 files changed, 14 insertions, 13 deletions
diff --git a/sysutils/wmhm/Makefile b/sysutils/wmhm/Makefile
index bf08ce1b105..df3f9e7189d 100644
--- a/sysutils/wmhm/Makefile
+++ b/sysutils/wmhm/Makefile
@@ -22,16 +22,14 @@ MANCOMPRESSED= yes
PLIST_FILES= bin/wmhm
USE_X_PREFIX= yes
USE_XPM= yes
+ONLY_FOR_ARCHS= i386 amd64
+ONLY_FOR_ARCHS_REASON= "requires speaker(4)"
CONFIGURE_ARGS+=--with-xpm-includes=${X11BASE}/include \
--with-xpm-library=${X11BASE}/lib
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= "Does not compile on !i386"
-.endif
-
post-install:
${STRIP_CMD} ${PREFIX}/bin/wmhm
diff --git a/sysutils/wmhm/files/patch-ac b/sysutils/wmhm/files/patch-ac
index 8e02ae030f7..44a782adaac 100644
--- a/sysutils/wmhm/files/patch-ac
+++ b/sysutils/wmhm/files/patch-ac
@@ -1,11 +1,17 @@
---- operations.c.orig Sun Jul 22 06:00:55 2001
-+++ operations.c Mon Aug 1 14:51:17 2005
-@@ -42,7 +42,7 @@
- #include <machine/speaker.h>
+--- operations.c.orig Sun Jul 22 07:00:55 2001
++++ operations.c Sat Mar 17 17:43:22 2007
+@@ -39,12 +39,11 @@
+ #include <unistd.h>
+ #include <math.h>
+ #include <machine/cpufunc.h>
+-#include <machine/speaker.h>
++#include <dev/speaker/speaker.h>
#ifdef HAVE_SMBUS
-#include <machine/smb.h>
+#include <dev/smbus/smb.h>
#endif
- #include "machine/speaker.h"
+-#include "machine/speaker.h"
+
+ #include "operations.h"
diff --git a/sysutils/wmhm/pkg-descr b/sysutils/wmhm/pkg-descr
index 96950473254..eef2ea8f82c 100644
--- a/sysutils/wmhm/pkg-descr
+++ b/sysutils/wmhm/pkg-descr
@@ -1,9 +1,6 @@
wmhm uses /dev/io or the SMBus Driver for PIIX4 provided by Takanori Watanabe
-to gather information from hardware sensors and provide motherboard temperature,
+to gather information from hardware sensors and provide motherboard temperature,
cpu temperature(s), fan speeds, voltages and a voltmeter in a nice looking
WindowMaker dock app.
WWW: http://www.muir-corp.com/system/wmhm/
-
-- mikem
-mmuir@cwnet.com