1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Fix port to configure correctly on OSVERSION > 5.x (smb.h include file has

changed it's location)

PR:		ports/103718
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com> (based on)
Approved by:	sem (mentor)
This commit is contained in:
Stanislav Sedov 2006-10-03 13:25:37 +00:00
parent 44a0751a26
commit 1b82172218
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174368

View File

@ -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>