aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2010-12-17 02:57:45 +0800
committerobrien <obrien@FreeBSD.org>2010-12-17 02:57:45 +0800
commitc7b6240fe03e33e321057499fc5bda6e41b5745d (patch)
tree292b6b725ef56732d8e480bdf7b2105adbd3e080 /sysutils
parent6c5d45807f60a5fe66f1891cd863d904f5016db2 (diff)
downloadfreebsd-ports-gnome-c7b6240fe03e33e321057499fc5bda6e41b5745d.tar.gz
freebsd-ports-gnome-c7b6240fe03e33e321057499fc5bda6e41b5745d.tar.zst
freebsd-ports-gnome-c7b6240fe03e33e321057499fc5bda6e41b5745d.zip
Fix build on OSVERSION >= 900000.
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