From owner-freebsd-ports Thu Jun 7 12:10: 9 2001 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 D597937B408 for ; Thu, 7 Jun 2001 12:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f57JA2c10562; Thu, 7 Jun 2001 12:10:02 -0700 (PDT) (envelope-from gnats) Received: from zeus.lpa.com (mail.lpa.com [12.3.233.134]) by hub.freebsd.org (Postfix) with ESMTP id 5585A37B403 for ; Thu, 7 Jun 2001 12:08:27 -0700 (PDT) (envelope-from toor@zeus.lpa.com) Received: from nightrain.xelus.com ([10.4.4.19]) by zeus.lpa.com (Netscape Messaging Server 4.15) with ESMTP id GEKQDA00.BH4 for ; Thu, 7 Jun 2001 15:05:34 -0400 Message-Id: Date: Thu, 7 Jun 2001 15:05:34 -0400 From: Shawn Halpenny Reply-To: Shawn Halpenny To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/27941: [PATCH] configure fails for fetchmail-5.8.5 with kerberos 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: 27941 >Category: ports >Synopsis: [PATCH] configure fails for fetchmail-5.8.5 with kerberos >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: Thu Jun 07 12:10:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Shawn Halpenny >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: System: FreeBSD nightrain.xelus.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Jun 7 10:00:44 EDT 2001 toor@nightrain.xelus.com:/usr/obj/usr/src/sys/NIGHTRAIN i386 >Description: When configuring fetchmail-5.8.5, if you have kerberos installed on your system the configure script fails to find it. From the output of: cd /usr/ports/mail/fetchmail && make checking for getaddrinfo... yes checking for inner_connect... no checking for Kerberos IV in /usr/include... not found configure: error: Kerberos 4 libraries not found ===> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. The problem is that the path to the kerberos files is incorrectly specified in the arguments to configure (or that the configure script incorrectly processes the path given for kerberos). Patch included to fix it by changing the port's Makefile to point to the correct directory (assuming the default kerberos installation location of /usr). >How-To-Repeat: cd /usr/ports/mail/fetchmail && make >Fix: --- Makefile~ Fri Jun 1 19:49:35 2001 +++ Makefile Thu Jun 7 14:50:27 2001 @@ -47,7 +47,7 @@ .endif .if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) -CONFIGURE_ARGS += --with-kerberos=/usr/include +CONFIGURE_ARGS += --with-kerberos=/usr .endif .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libkrb5.a) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message