aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mbmon
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-29 11:09:30 +0800
committeroliver <oliver@FreeBSD.org>2003-07-29 11:09:30 +0800
commited4561e8d271c4a4bb409aaa12aca7fea38dc733 (patch)
treeb9b84fd178a327f904b070e4b1955f543570e526 /sysutils/mbmon
parentb8108a6e132772cc497c9787e796ed96018ab3de (diff)
downloadfreebsd-ports-gnome-ed4561e8d271c4a4bb409aaa12aca7fea38dc733.tar.gz
freebsd-ports-gnome-ed4561e8d271c4a4bb409aaa12aca7fea38dc733.tar.zst
freebsd-ports-gnome-ed4561e8d271c4a4bb409aaa12aca7fea38dc733.zip
update xmbmon to 202
Approved by: maintainer
Diffstat (limited to 'sysutils/mbmon')
-rw-r--r--sysutils/mbmon/Makefile11
-rw-r--r--sysutils/mbmon/distinfo3
-rw-r--r--sysutils/mbmon/files/patch-aa20
3 files changed, 19 insertions, 15 deletions
diff --git a/sysutils/mbmon/Makefile b/sysutils/mbmon/Makefile
index 6503243c21e6..bccc7f046795 100644
--- a/sysutils/mbmon/Makefile
+++ b/sysutils/mbmon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmbmon
-PORTVERSION= 201
+PORTVERSION= 202
CATEGORIES= sysutils
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/
.if defined(WITHOUT_X11)
@@ -14,19 +14,22 @@ PKGNAMESUFFIX= -nox11
.endif
DISTNAME= ${PORTNAME}${PORTVERSION}
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= xmbmon200202it87.diff
+
MAINTAINER= kaz@kobe1995.net
COMMENT= X/tty motherboard monitor for LM78/79, W8378x, AS99127F and VT82C686
GNU_CONFIGURE= yes
.if defined(WITHOUT_X11)
-MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
PLIST_SUB= X11_ONLY="@comment "
.else
USE_XLIB= yes
-MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
PLIST_SUB= X11_ONLY=""
.endif
+MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
+
pre-everything::
@${ECHO_CMD} ""
@${ECHO_CMD} "Definable build options"
@@ -36,7 +39,7 @@ pre-everything::
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
.endif
diff --git a/sysutils/mbmon/distinfo b/sysutils/mbmon/distinfo
index b402f6e23dd8..61c8ddca3384 100644
--- a/sysutils/mbmon/distinfo
+++ b/sysutils/mbmon/distinfo
@@ -1 +1,2 @@
-MD5 (xmbmon201.tar.gz) = 1774fdd5ef6b6fa6b119ca5826381aac
+MD5 (xmbmon202.tar.gz) = 5aeeb0e61a2227b18f67c72dc49b4bb6
+MD5 (xmbmon200202it87.diff) = c49353e00d704a247fba4997b9b0d360
diff --git a/sysutils/mbmon/files/patch-aa b/sysutils/mbmon/files/patch-aa
index f07e3c43fc0e..89496d8d1562 100644
--- a/sysutils/mbmon/files/patch-aa
+++ b/sysutils/mbmon/files/patch-aa
@@ -1,8 +1,8 @@
---- Makefile.in.orig Thu Aug 22 14:03:21 2002
-+++ Makefile.in Fri Nov 22 22:14:39 2002
+--- Makefile.in.orig Sun Jun 8 21:28:31 2003
++++ Makefile.in Sun Jul 27 13:11:15 2003
@@ -13,9 +13,9 @@
- DEFS=-DHAVE_CONFIG_H -Wall
+ DEFS=-DHAVE_CONFIG_H -Wall @HOSTDEF@
-LIBDIR=/usr/X11R6/lib
+LIBDIR=$(X11BASE)/lib
@@ -12,20 +12,20 @@
XLIB=-lXaw -lXmu
EXTENSIONLIB=-lXext
INCLUDES=-I$(INCDIR)
-@@ -23,9 +23,9 @@
+@@ -24,9 +24,9 @@
LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
#CC=/compat/linux/usr/bin/gcc
--CC=gcc
+-CC=@CC@
-CFLAGS=-O3 $(INCLUDES) $(DEFS)
-CFLAGSX=-O3 $(XINCLUDES) $(DEFS)
-+CC?=gcc
++CC?=@CC@
+CFLAGS+= $(INCLUDES) $(DEFS)
-+CFLAGSX= $(XINCLUDES) $(CFLAGS)
++CFLAGSX= $(XINCLUDES) $(DEFS)
LDFLAGS=-s
LINT=lint
-@@ -34,16 +34,22 @@
+@@ -35,16 +35,22 @@
RM=rm -f
INSTALL=install
@@ -52,8 +52,8 @@
+all: $(PROGRAM) $(TESTPROG)
MB_OBJ = getMB-via.o getMB-smb.o getMB-isa.o
- SMB_OBJ = smbus_piix4.o smbus_amd.o smbus_ali.o
-@@ -115,8 +121,14 @@
+ SMB_OBJ = smbuses.o smbus_piix4.o smbus_amd.o smbus_ali.o smbus_amd8.o
+@@ -124,8 +130,14 @@
$(RM) Makefile config.cache config.log config.h config.status
install: $(PROGRAM)