summaryrefslogtreecommitdiff
path: root/chinese/telnet
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-05-04 10:36:29 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-05-04 10:36:29 +0000
commit6188b028196c48d6088cd4a35ff57017385d140b (patch)
treeaab21f35344412ed9912caeac4f324d730e98df5 /chinese/telnet
parentUpgrade to 0.5.1. (diff)
1. simplify the patch
2. stop trying when /usr/src/usr.bin/telnet doesn't exists Submitted by: 1. ijliao
Notes
Notes: svn path=/head/; revision=80106
Diffstat (limited to 'chinese/telnet')
-rw-r--r--chinese/telnet/Makefile2
-rw-r--r--chinese/telnet/files/patch-aa17
2 files changed, 8 insertions, 11 deletions
diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile
index d409f85b7fa6..689b59969581 100644
--- a/chinese/telnet/Makefile
+++ b/chinese/telnet/Makefile
@@ -26,7 +26,7 @@ do-extract:
@${MKDIR} ${WRKSRC}/lib
@${CP} -R /usr/src/lib/libtelnet ${WRKSRC}/lib
.else
-BROKEN= "You need to build this port with ${SRCDIR}"
+IGNORE= "You need to build this port with ${SRCDIR}"
.endif
pre-patch:
diff --git a/chinese/telnet/files/patch-aa b/chinese/telnet/files/patch-aa
index 86d2bb9ea83e..44446ed9d110 100644
--- a/chinese/telnet/files/patch-aa
+++ b/chinese/telnet/files/patch-aa
@@ -1,14 +1,11 @@
---- sys_bsd.c.orig Sat Sep 30 21:08:50 2000
-+++ sys_bsd.c Sat Sep 30 21:10:24 2000
-@@ -593,10 +593,7 @@
+--- sys_bsd.c.orig Sun May 4 16:03:33 2003
++++ sys_bsd.c Sun May 4 16:04:12 2003
+@@ -572,7 +572,7 @@
else
lmode &= ~LPASS8;
#else
- if (f & MODE_INBIN)
-- tmp_tc.c_iflag &= ~ISTRIP;
-- else
-- tmp_tc.c_iflag |= ISTRIP;
-+ tmp_tc.c_iflag &= ~ISTRIP;
- if (f & MODE_OUTBIN) {
- tmp_tc.c_cflag &= ~(CSIZE|PARENB);
- tmp_tc.c_cflag |= CS8;
++ if (1)
+ tmp_tc.c_iflag &= ~ISTRIP;
+ else
+ tmp_tc.c_iflag |= ISTRIP;