Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 14:35:04 GMT
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103718: [PATCH] make sysutils/lmmon regocnize SMB support
Message-ID:  <200609271435.k8REZ4O7034750@www.freebsd.org>
Resent-Message-ID: <200609271440.k8REeKUF092060@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103718
>Category:       ports
>Synopsis:       [PATCH] make sysutils/lmmon regocnize SMB support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 27 14:40:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        RELENG_6
>Organization:
>Environment:
>Description:
The configure script/source code tries to include <machine/smb.h>. This file has changed location at least in RELENG_6
>How-To-Repeat:
cd /usr/ports/sysutils/lmmon && make configure
..
checking for machine/smb.h... no

Consequently, lmmon falls back to using /dev/io.
>Fix:
Could be fixed with two patches, but I opted for the four line change to the Makefile, I hope the patch will not get mangled by the web interface.

--- sysutils/lmmon/Makefile	Wed Sep 27 13:27:25 2006
+++ sysutils/lmmon/Makefile	Wed Sep 27 13:25:23 2006
@@ -20,4 +20,9 @@
 MANCOMPRESSED=	yes
 PLIST_FILES=	bin/lmmon
 
+post-patch:
+.for i in configure configure.in lmmon.c
+	${REINPLACE_CMD} 's,machine/smb.h,dev/smbus/smb.h,' ${WRKSRC}/$i
+.endfor
+
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609271435.k8REZ4O7034750>