Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 22:31:11 +0800 (CST)
From:      Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28175: update port: chinese/telnet
Message-ID:  <200106151431.f5FEVA608550@utopia.leeym.com>

next in thread | raw e-mail | index | archive | help

>Number:         28175
>Category:       ports
>Synopsis:       update port: chinese/telnet
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 15 07:40:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Fri Jun 15 10:06:12 CST 2001 root@utopia.leeym.com:/mnt/obj/mnt/src/sys/UTOPIA i386

	
>Description:

Fix libtelnet problem.

>How-To-Repeat:

http://bento.freebsd.org/errorlogs/5-full/zh-telnet-1.0.log

>Fix:

diff -ruN /usr/ports/chinese/telnet/Makefile telnet/Makefile
--- /usr/ports/chinese/telnet/Makefile	Tue Oct 10 10:45:07 2000
+++ telnet/Makefile	Fri Jun 15 22:16:54 2001
@@ -15,6 +15,12 @@
 
 SRCDIR=		/usr/src/usr.bin/telnet
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+EXTRA_PATCHES=	${FILESDIR}/current-patch
+.endif
+
 do-extract:
 .if exists (${SRCDIR})
 	@${MKDIR} ${WRKDIR}
@@ -31,4 +37,4 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet; \
 	${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/chinese/telnet/files/current-patch telnet/files/current-patch
--- /usr/ports/chinese/telnet/files/current-patch	Thu Jan  1 08:00:00 1970
+++ telnet/files/current-patch	Fri Jun 15 22:07:37 2001
@@ -0,0 +1,11 @@
+--- Makefile.orig	Fri Jun 15 22:06:14 2001
++++ Makefile	Fri Jun 15 22:07:22 2001
+@@ -51,7 +51,7 @@
+ .endif
+ 
+ DPADD=	${LIBTERMCAP} ${LIBTELNET}
+-LDADD=	-ltermcap ${LIBTELNET}
++LDADD=	-ltermcap -ltelnet
+ 
+ .if !defined(RELEASE_CRUNCH)
+ CFLAGS+=-DINET6
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106151431.f5FEVA608550>