From owner-freebsd-ports Wed Feb 13 5:20:20 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F9DD37B417 for ; Wed, 13 Feb 2002 05:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1DDK1p29689; Wed, 13 Feb 2002 05:20:01 -0800 (PST) (envelope-from gnats) Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id E360737B402 for ; Wed, 13 Feb 2002 05:16:26 -0800 (PST) Received: from astral.ntu-kpi.kiev.ua (if-14-13-10M.astral.ntu-kpi.kiev.ua [10.100.2.14]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 0F0B82EF6F for ; Wed, 13 Feb 2002 15:16:21 +0200 (EET) Received: (from fm@localhost) by astral.ntu-kpi.kiev.ua (8.11.6/8.11.6) id g1DDFxv39885; Wed, 13 Feb 2002 15:15:59 +0200 (EET) (envelope-from fm) Message-Id: <200202131315.g1DDFxv39885@astral.ntu-kpi.kiev.ua> Date: Wed, 13 Feb 2002 15:15:59 +0200 (EET) From: "Dmitry A. Yanko" Reply-To: "Dmitry A. Yanko" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34905: maintainer-update port: ftp/lftp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34905 >Category: ports >Synopsis: maintainer-update port: ftp/lftp >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 Feb 13 05:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dmitry A. Yanko >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: >Description: skip `trio' checks in configure >How-To-Repeat: >Fix: diff -ruN lftp.orig/Makefile lftp/Makefile --- lftp.orig/Makefile Wed Feb 13 14:43:44 2002 +++ lftp/Makefile Wed Feb 13 14:45:11 2002 @@ -7,6 +7,7 @@ PORTNAME= lftp PORTVERSION= 2.4.9 +PORTREVISION= 1 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/ \ ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/old/ \ diff -ruN lftp.orig/files/patch-configure lftp/files/patch-configure --- lftp.orig/files/patch-configure Thu Jan 1 03:00:00 1970 +++ lftp/files/patch-configure Wed Feb 13 14:48:40 2002 @@ -0,0 +1,169 @@ +--- configure.bak Wed Feb 13 14:47:56 2002 ++++ configure Wed Feb 13 14:48:10 2002 +@@ -18821,86 +18821,86 @@ + fi + done + +- echo "$as_me:18824: checking if trio library is needed" >&5 +-echo $ECHO_N "checking if trio library is needed... $ECHO_C" >&6 +-if test "${ac_cv_need_trio+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- ac_cv_need_trio=no; +- +- if test x$ac_cv_func_vsnprintf != xyes; then +- ac_cv_need_trio="yes (because there is no system vsnprintf function)" +- else +- +- if test "$cross_compiling" = yes; then +- { { echo "$as_me:18837: error: cannot run test program while cross compiling" >&5 +-echo "$as_me: error: cannot run test program while cross compiling" >&2;} +- { (exit 1); exit 1; }; } +-else +- cat >conftest.$ac_ext <<_ACEOF +-#line 18842 "configure" +-#include "confdefs.h" +- +- int main() +- { +- unsigned long long x=0,x1; +- long long y=0,y1; +- char buf[128]; +- +- x=~x; +- sscanf("0","%llu",&x); +- if(x!=0) return 1; +- +- y=~y; +- sscanf("0","%lld",&y); +- if(y!=0) return 1; +- +- x=~x; +- sprintf(buf,"%lld %llu",y,x); +- sscanf (buf,"%lld %llu",&y1,&x1); +- if(x!=x1 || y!=y1) +- return 1; +- +- return 0; +- } +-_ACEOF +-rm -f conftest$ac_exeext +-if { (eval echo "$as_me:18869: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:18872: \$? = $ac_status" >&5 +- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' +- { (eval echo "$as_me:18874: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:18877: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- : +-else +- echo "$as_me: program exited with status $ac_status" >&5 +-echo "$as_me: failed program was:" >&5 +-cat conftest.$ac_ext >&5 +-ac_cv_need_trio="yes (because %lld fails)" +-fi +-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +-fi +- +- fi +- +-fi +-echo "$as_me:18892: result: $ac_cv_need_trio" >&5 +-echo "${ECHO_T}$ac_cv_need_trio" >&6 +- case $ac_cv_need_trio in +- yes*) +- LIBOBJS="$LIBOBJS strio.o trio.o trionan.o" +- +-cat >>confdefs.h <<\EOF +-#define TRIO_REPLACE_STDIO 1 +-EOF +- +- ;; +- esac ++# echo "$as_me:18824: checking if trio library is needed" >&5 ++# echo $ECHO_N "checking if trio library is needed... $ECHO_C" >&6 ++# if test "${ac_cv_need_trio+set}" = set; then ++# echo $ECHO_N "(cached) $ECHO_C" >&6 ++# else ++# ++# ac_cv_need_trio=no; ++# ++# if test x$ac_cv_func_vsnprintf != xyes; then ++# ac_cv_need_trio="yes (because there is no system vsnprintf function)" ++# else ++# ++# if test "$cross_compiling" = yes; then ++# { { echo "$as_me:18837: error: cannot run test program while cross compiling" >&5 ++# echo "$as_me: error: cannot run test program while cross compiling" >&2;} ++# { (exit 1); exit 1; }; } ++# else ++# cat >conftest.$ac_ext <<_ACEOF ++# #line 18842 "configure" ++# #include "confdefs.h" ++# ++# int main() ++# { ++# unsigned long long x=0,x1; ++# long long y=0,y1; ++# char buf[128]; ++# ++# x=~x; ++# sscanf("0","%llu",&x); ++# if(x!=0) return 1; ++# ++# y=~y; ++# sscanf("0","%lld",&y); ++# if(y!=0) return 1; ++# ++# x=~x; ++# sprintf(buf,"%lld %llu",y,x); ++# sscanf (buf,"%lld %llu",&y1,&x1); ++# if(x!=x1 || y!=y1) ++# return 1; ++# ++# return 0; ++# } ++# _ACEOF ++# rm -f conftest$ac_exeext ++# if { (eval echo "$as_me:18869: \"$ac_link\"") >&5 ++# (eval $ac_link) 2>&5 ++# ac_status=$? ++# echo "$as_me:18872: \$? = $ac_status" >&5 ++# (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++# { (eval echo "$as_me:18874: \"$ac_try\"") >&5 ++# (eval $ac_try) 2>&5 ++# ac_status=$? ++# echo "$as_me:18877: \$? = $ac_status" >&5 ++# (exit $ac_status); }; }; then ++# : ++# else ++# echo "$as_me: program exited with status $ac_status" >&5 ++# echo "$as_me: failed program was:" >&5 ++# cat conftest.$ac_ext >&5 ++# ac_cv_need_trio="yes (because %lld fails)" ++# fi ++# rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++# fi ++# ++# fi ++# ++# fi ++# echo "$as_me:18892: result: $ac_cv_need_trio" >&5 ++# echo "${ECHO_T}$ac_cv_need_trio" >&6 ++# case $ac_cv_need_trio in ++# yes*) ++# LIBOBJS="$LIBOBJS strio.o trio.o trionan.o" ++# ++# cat >>confdefs.h <<\EOF ++# #define TRIO_REPLACE_STDIO 1 ++# EOF ++# ++# ;; ++# esac + + # See if we have h_errno (the test is here so we can use -lresolv if necessary). + echo "$as_me:18906: checking for h_errno" >&5 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message