summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2010-12-16 18:57:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2010-12-16 18:57:45 +0000
commitfc2c6252ba4e3aa668d895f6ed5e8a03b263a1bd (patch)
treee076a422a1dfa01684e929e4326508a9435a03fc /sysutils
parent- Updated to 1.2.3 (diff)
Fix build on OSVERSION >= 900000.
Notes
Notes: svn path=/head/; revision=266449
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/k8temp/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/k8temp/Makefile b/sysutils/k8temp/Makefile
index 495002f572a4..45bc50f68dfc 100644
--- a/sysutils/k8temp/Makefile
+++ b/sysutils/k8temp/Makefile
@@ -19,14 +19,13 @@ MAN8= k8temp.8
PLIST_FILES= sbin/k8temp
+post-patch:
+ @${REINPLACE_CMD} -e 's|WARNS=.*[6-9]|WARNS=5|g' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/k8temp ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/k8temp.8 ${PREFIX}/man/man8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 900000
-BROKEN= does not build
-.endif
+.include <bsd.port.mk>
-.include <bsd.port.post.mk>
+WARNS= 6