Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 21:56:38 +0900 (KST)
From:      cjh@wdb.co.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16374: Ports fix: news/tin
Message-ID:  <200001261256.VAA27189@kfug.kr.freebsd.org>

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

>Number:         16374
>Category:       ports
>Synopsis:       Ports fix: news/tin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 05:00:07 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     CHOI Junho
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Web Data Bank Co.
>Environment:

FreeBSD gradius.myhome 3.4-STABLE FreeBSD 3.4-STABLE #6: Sun Jan  9
12:32:52 KST 2000     root@gradius.myhome:/usr/src/sys/compile/GRADIUS
i386

>Description:

Adding -lxpg4 in LDFLAGS makes tin to display multibyte char correctly
under euc locales(ko_KR.EUC and ja_JP.*).

>How-To-Repeat:

build it!

>Fix:
	
diff -uNr /usr/ports/news/tin/Makefile ./Makefile
--- /usr/ports/news/tin/Makefile	Mon Jan 24 23:53:42 2000
+++ ./Makefile	Tue Jan 25 23:16:38 2000
@@ -38,7 +38,7 @@
 		 --with-metamail=${PREFIX}/bin/metamail
 CONFIGURE_ENV=  CFLAGS='${CFLAGS} -I${PREFIX}/include -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\""' \
 		CPPFLAGS='${CPPFLAGS} -I${PREFIX}/include' \
-		LDFLAGS='${LDFLAGS} -L${PREFIX}/lib'
+		LDFLAGS='${LDFLAGS} -L${PREFIX}/lib -lxpg4'
 MAKEFILE=       makefile
 ALL_TARGET=     build
 MAN1=		tin.1
diff -uNr /usr/ports/news/tin/patches/patch-aa ./patches/patch-aa
--- /usr/ports/news/tin/patches/patch-aa	Wed Sep 29 00:18:42 1999
+++ ./patches/patch-aa	Tue Jan 25 23:21:19 2000
@@ -5,7 +5,7 @@
  
  CANLIB	= # -L../libcanlock -lcanlock
 -LIBS	= -L../pcre -lpcre $(CANLIB) @LIBS@ @INN_NNTPLIB@
-+LIBS	= ../pcre/libpcre.a $(CANLIB) @LIBS@ @INN_NNTPLIB@ ../pcre/libpcre.a
++LIBS	= ../pcre/libpcre.a $(CANLIB) @LIBS@ @INN_NNTPLIB@
  
  # Where do you want the binary & manual page installed?
  INSTALL_PREFIX	= @INSTALL_PREFIX@

>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?200001261256.VAA27189>