ports/103718: [PATCH] make sysutils/lmmon regocnize SMB support
Ulrich Spoerlein
uspoerlein at gmail.com
Wed Sep 27 14:40:33 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list