diff options
author | obrien <obrien@FreeBSD.org> | 2010-12-17 02:57:45 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-12-17 02:57:45 +0800 |
commit | c7b6240fe03e33e321057499fc5bda6e41b5745d (patch) | |
tree | 292b6b725ef56732d8e480bdf7b2105adbd3e080 /sysutils | |
parent | 6c5d45807f60a5fe66f1891cd863d904f5016db2 (diff) | |
download | freebsd-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/Makefile | 11 |
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 |