From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 26 16:50:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CD181065673 for ; Fri, 26 Nov 2010 16:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF1238FC08 for ; Fri, 26 Nov 2010 16:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAQGo25g001990 for ; Fri, 26 Nov 2010 16:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAQGo2VZ001989; Fri, 26 Nov 2010 16:50:02 GMT (envelope-from gnats) Date: Fri, 26 Nov 2010 16:50:02 GMT Message-Id: <201011261650.oAQGo2VZ001989@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Peter Wullinger Cc: Subject: Re: ports/152537: [patch] database/postgresql90-server no longer needs pull in security/heimdal port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Wullinger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 16:50:03 -0000 The following reply was made to PR ports/152537; it has been noted by GNATS. From: Peter Wullinger To: bug-followup@FreeBSD.org, peter.wullinger+freebsd@googlemail.com Cc: Subject: Re: ports/152537: [patch] database/postgresql90-server no longer needs pull in security/heimdal port Date: Fri, 26 Nov 2010 17:14:59 +0100 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I missed a library problem in the initial patch. /usr/local/bin/postgresql complains about missing initialize_asn1_error_table_r in krb5.so The following patch to configure.in solves the problem. I'll try to get a patch for PostgreSQL upstream to use krb5-config instead of hardcoded library names. --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-configure.in" --- configure.in.orig 2010-11-26 16:59:40.385097582 +0100 +++ configure.in 2010-11-26 16:59:58.185392312 +0100 @@ -916,7 +916,7 @@ if test "$with_gssapi" = yes ; then if test "$PORTNAME" != "win32"; then - AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [], + AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lasn1 -lcrypto'], [], [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])]) else LIBS="$LIBS -lgssapi32" --cWoXeonUoKmBZSoM--