From owner-freebsd-ports Sun Feb 17 6:10:15 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 5386B37B41A for ; Sun, 17 Feb 2002 06:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1HEA1C32660; Sun, 17 Feb 2002 06:10:01 -0800 (PST) (envelope-from gnats) Received: from sahiro.homeip.net (p73-dna05sawada.niigata.ocn.ne.jp [211.122.195.201]) by hub.freebsd.org (Postfix) with ESMTP id 8051737B404 for ; Sun, 17 Feb 2002 06:07:12 -0800 (PST) Received: by sahiro.merseine.nu (Postfix, from userid 1000) id A9B58BAC1; Sun, 17 Feb 2002 23:07:07 +0900 (JST) Message-Id: <20020217140729.A9B58BAC1@sahiro.merseine.nu> Date: Sun, 17 Feb 2002 23:07:07 +0900 (JST) From: SASAKI Katuhiro To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35039: Bug: devel/gcvs fails to build 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: 35039 >Category: ports >Synopsis: Bug: devel/gcvs fails to build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 17 06:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: SASAKI Katuhiro >Release: FreeBSD 4.5-RELEASE i386 >Organization: personal >Environment: >Description: Building devel/gcvs fails in linking libraries as below. # cd /usr/ports/devel/gcvs && make ... filesubr.o: In function `cvs_temp_name': filesubr.o(.text+0xd7e): warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/lib/libkrb5.so: undefined reference to `com_right' /usr/lib/libkrb5.so: undefined reference to `init_error_table' /usr/lib/libkrb5.so: undefined reference to `crypt' /usr/lib/libkrb5.so: undefined reference to `initialize_error_table_r' /usr/lib/libkrb5.so: undefined reference to `free_error_table' gmake[3]: *** [cvs] Error 1 ... >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/gcvs/files/patch-cvsunix-configure gcvs/files/patch-cvsunix-configure --- /usr/ports/devel/gcvs/files/patch-cvsunix-configure Thu Jan 1 09:00:00 1970 +++ gcvs/files/patch-cvsunix-configure Mon Jan 21 16:31:12 2002 @@ -0,0 +1,11 @@ +--- cvsunix/configure.orig Wed Mar 7 04:02:21 2001 ++++ cvsunix/configure Mon Jan 21 16:24:32 2002 +@@ -3423,7 +3423,7 @@ + includeopt="${includeopt} -I$GSSAPI/include" + # FIXME: This is ugly, but these things don't seem to be standardized. + if test "$ac_cv_header_gssapi_h" = "yes"; then +- LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken" ++ LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken -lcrypt -lcom_err" + else + LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err" + fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message