diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2006-10-03 13:25:37 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2006-10-03 13:25:37 +0000 |
commit | 1b821722187a1434fbfabbe865635fbb09404039 (patch) | |
tree | cccadf7c25a86bc6b10cdc75034ee2f578724948 /sysutils/lmmon | |
parent | 44a0751a26f24ed32946fcc51badae8a6fab7794 (diff) | |
download | ports-1b821722187a1434fbfabbe865635fbb09404039.tar.gz ports-1b821722187a1434fbfabbe865635fbb09404039.zip |
Notes
Diffstat (limited to 'sysutils/lmmon')
-rw-r--r-- | sysutils/lmmon/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/lmmon/Makefile b/sysutils/lmmon/Makefile index 329b06de6931..cd90cc7ed25b 100644 --- a/sysutils/lmmon/Makefile +++ b/sysutils/lmmon/Makefile @@ -7,6 +7,7 @@ PORTNAME= lmmon PORTVERSION= 0.65 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.fxp.org/~jedgar/lmmon/ @@ -20,4 +21,14 @@ MAN8= lmmon.8 MANCOMPRESSED= yes PLIST_FILES= bin/lmmon -.include <bsd.port.mk> +FIXFILES= configure configure.in lmmon.c + +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} > 500000 + @${REINPLACE_CMD} -e 's,machine/smb.h,dev/smbus/smb.h,' \ + ${FIXFILES:S,^,${WRKSRC}/,} +.endif + +.include <bsd.port.post.mk> |