NetBSD Problem Report #29764

From wiz@dmath5.geometrie.tuwien.ac.at  Tue Mar 22 21:07:57 2005
Return-Path: <wiz@dmath5.geometrie.tuwien.ac.at>
Received: from dmath5.geometrie.tuwien.ac.at (dmath5.geometrie.tuwien.ac.at [128.130.42.105])
	by narn.netbsd.org (Postfix) with ESMTP id 10FCD63B116
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Mar 2005 21:07:57 +0000 (UTC)
Message-Id: <20050322210724.825A6294A9@dmath5.geometrie.tuwien.ac.at>
Date: Tue, 22 Mar 2005 22:07:24 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@netbsd.org
Subject: postgresql80: pg_config and its man page should be in -libs
X-Send-Pr-Version: 3.95

>Number:         29764
>Category:       pkg
>Synopsis:       postgresql80: pg_config and its man page should be in -libs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    recht
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 22 21:08:00 +0000 2005
>Closed-Date:    Wed Apr 20 07:32:27 +0000 2005
>Last-Modified:  Wed Apr 20 07:32:27 +0000 2005
>Originator:     Thomas Klausner
>Release:        NetBSD 2.0
>Organization:
>Environment:


>Description:
Since pg_config is used to find the libraries locations, and for
consistency with postgresql74, the pg_config binary in the postgresql80
packages should be moved from -client to -lib. See PR 28685.
>How-To-Repeat:
Look at the PLISTs.
>Fix:
Not supplied.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->recht
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Tue, 22 Mar 2005 21:13:35 +0000
Responsible-Changed-Why:
Assigned to maintainer.
(Can you look at PR 29763 also?)


From: Johnny Lam <jlam@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/29764: postgresql80: pg_config and its man page should be
 in -libs
Date: Tue, 22 Mar 2005 16:41:42 -0500

 Thomas Klausner wrote:
 > Since pg_config is used to find the libraries locations, and for
 > consistency with postgresql74, the pg_config binary in the postgresql80
 > packages should be moved from -client to -lib. See PR 28685.

 I took a look at the pg_config binary when I was fixing the problem with 
 courier-authlib not linking properly when built with the "pgsql" option. 
   It's actually pretty useless.  I had thought that one would be able to 
 run "pg_config --client-libs" or something similar to output the list of 
 libraries needed to link clients, but it turns out that all you can do 
 is query for directory locations.  I ended up adding 
 ${BUILDLINK_LDADD.postgresql80-lib} to the 
 postgresql80-lib/buildlink3.mk file (and similarly for the other 
 postgresql*-lib/buildlink3.mk files) to supply the information that I 
 think people are expecting.

 This doesn't mean that pg_config shouldn't be moved to the 
 postgresql80-lib package.  All I'm saying is that it doesn't behave like 
 other *-config scripts, so it's not very useful.

 	Cheers,

 	-- Johnny Lam <jlam@NetBSD.org>

State-Changed-From-To: open->closed
State-Changed-By: recht@netbsd.org
State-Changed-When: Wed, 20 Apr 2005 07:32:27 +0000
State-Changed-Why:
Changed with the postgresql 8.0.2 update.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.