aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmhm
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-03-17 16:54:28 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-03-17 16:54:28 +0000
commite6806df562f07562eaddd39ed7ace37d077b263f (patch)
tree34bd12c4b4941beeeb12d320748f3dfcb5a060e9 /sysutils/wmhm
parent8f9b6feaf80756b15157ce571c384bae048df290 (diff)
downloadports-e6806df562f07562eaddd39ed7ace37d077b263f.tar.gz
ports-e6806df562f07562eaddd39ed7ace37d077b263f.zip
Fix build on amd64 and convert BROKEN to ONLY_FOR_ARCHS, because it
requires speaker(4). portlint pkg-descr
Notes
Notes: svn path=/head/; revision=187582
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 bf08ce1b1053..df3f9e7189d2 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 8e02ae030f77..44a782adaacd 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 96950473254f..eef2ea8f82c7 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