aboutsummaryrefslogtreecommitdiff
path: root/misc/heyu2
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:53:45 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:53:45 +0000
commit81cd10f8d2bfe2ad25124f31d629351947acaa56 (patch)
tree742a328cb0389824bd34ff86bbf3e7ae02e3125a /misc/heyu2
parent5555d89b50c7710cb97fb22ca6af251e6404e404 (diff)
downloadports-81cd10f8d2bfe2ad25124f31d629351947acaa56.tar.gz
ports-81cd10f8d2bfe2ad25124f31d629351947acaa56.zip
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200775
Diffstat (limited to 'misc/heyu2')
-rw-r--r--misc/heyu2/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile
index 25569c841fde..b618f0480d32 100644
--- a/misc/heyu2/Makefile
+++ b/misc/heyu2/Makefile
@@ -28,24 +28,15 @@ MAN5= x10config.5 \
x10sched.5 \
x10scripts.5
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -E 's|/usr/local|${PREFIX}|g; \
s,(CC) =,\1 ?=,g; \
s,(CFLAGS) =,\1 +=,g' \
${WRKSRC}/Configure
-.if ${OSVERSION} >= 500000
@${REINPLACE_CMD} -e 's|<.*termio[s]*.h|<sys/ttycom.h|g' \
${WRKSRC}/cm17a.c \
${WRKSRC}/xsync.c \
${WRKSRC}/xwrite.c
-.else
- @${REINPLACE_CMD} -e 's|<.*termio[s]*.h|<sys/termios.h|g' \
- ${WRKSRC}/cm17a.c \
- ${WRKSRC}/xsync.c \
- ${WRKSRC}/xwrite.c
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/heyu ${PREFIX}/bin
@@ -57,4 +48,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/x10config.sample ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/x10.sched.sample ${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>