pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29764: postgresql80: pg_config and its man page should be in -libs



The following reply was made to PR pkg/29764; it has been noted by GNATS.

From: Johnny Lam <jlam%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
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@localhost>
 



Home | Main Index | Thread Index | Old Index