From nobody@FreeBSD.org  Sun Mar 31 09:57:24 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 356F337B417
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 31 Mar 2002 09:57:24 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g2VHvOJ52471;
	Sun, 31 Mar 2002 09:57:24 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203311757.g2VHvOJ52471@freefall.freebsd.org>
Date: Sun, 31 Mar 2002 09:57:24 -0800 (PST)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: news/yencode
X-Send-Pr-Version: www-1.0

>Number:         36585
>Category:       ports
>Synopsis:       Update port: news/yencode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 31 10:00:05 PST 2002
>Closed-Date:    Sun Jun 09 13:40:41 PDT 2002
>Last-Modified:  Sun Jun 09 13:40:41 PDT 2002
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix LIB_DEPENDS
- Remove unnecessary USE_BISON

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/news/yencode/Makefile news/yencode/Makefile
--- /usr/ports/news/yencode/Makefile	Mon Mar 25 16:35:57 2002
+++ news/yencode/Makefile	Sat Mar 30 00:16:34 2002
@@ -14,14 +14,14 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt \
-		iconv:${PORTSDIR}/converters/libiconv \
-		intl:${PORTSDIR}/devel/gettext
+LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv \
+		intl.1:${PORTSDIR}/devel/gettext \
+		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
-USE_BISON=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 
 MAN1=	ydecode.1 yencode.1 ypost.1
 MAN5=	ypostrc.5

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: petef 
State-Changed-When: Sun Jun 9 13:40:13 PDT 2002 
State-Changed-Why:  
Similiar patches have been committed to the Makefile, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36585 
>Unformatted:
