aboutsummaryrefslogtreecommitdiffstats
path: root/misc/heyu2
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 09:53:45 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 09:53:45 +0800
commit95e1b4adc3c217295ee0fb10edc368df8849ce34 (patch)
tree6212c15a36a0bd64fc1b3b0aa4e89010d9b60a69 /misc/heyu2
parentec40c1b18590a321d5dbd5ebbd73bea024902e87 (diff)
downloadfreebsd-ports-gnome-95e1b4adc3c217295ee0fb10edc368df8849ce34.tar.gz
freebsd-ports-gnome-95e1b4adc3c217295ee0fb10edc368df8849ce34.tar.zst
freebsd-ports-gnome-95e1b4adc3c217295ee0fb10edc368df8849ce34.zip
Remove always-false/true conditions based on OSVERSION 500000
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>