summaryrefslogtreecommitdiff
path: root/sysutils/cmospwd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:10:15 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:10:15 +0000
commitcc82ac7af1a4b4743ab599432b8c7f24a774e0c8 (patch)
tree6443da11a92be566759454b76c94714222a13560 /sysutils/cmospwd
parentRemove always-false/true conditions based on OSVERSION 500000 (diff)
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200792
Diffstat (limited to 'sysutils/cmospwd')
-rw-r--r--sysutils/cmospwd/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysutils/cmospwd/Makefile b/sysutils/cmospwd/Makefile
index cfc1fba67006..172b03808654 100644
--- a/sysutils/cmospwd/Makefile
+++ b/sysutils/cmospwd/Makefile
@@ -22,13 +22,7 @@ PORTDOCS= cmospwd.txt
ONLY_FOR_ARCHS= i386 amd64
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's|<stdint\.h>|<unistd.h>|' \
- ${WRKSRC}/src/cmospwd.c
-.endif
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s/`${ECHO_CMD} -e '\r'`*$$//" \
${WRKSRC}/cmospwd.txt
@@ -45,4 +39,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>