diff options
author | jlam <jlam@pkgsrc.org> | 2005-03-18 19:57:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-03-18 19:57:31 +0000 |
commit | 7cc97e43993c0196752331e60be94e5bed00ce42 (patch) | |
tree | 5156bfe176a6f876f1e5567287637039d9599cae /databases/postgresql80-lib | |
parent | f0db6a66132c32f7d4ed29f466c92bc41dca7bbb (diff) | |
download | pkgsrc-7cc97e43993c0196752331e60be94e5bed00ce42.tar.gz |
PostgreSQL doesn't provide *.la files that include the library
dependencies needed when linking PostgreSQL clients with -lpq. Define
a BUILDLINK_LDADD.${PGSQL_TYPE} variable that lists the full set
libraries that would be needed to link with -lpq.
Diffstat (limited to 'databases/postgresql80-lib')
-rw-r--r-- | databases/postgresql80-lib/buildlink3.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/postgresql80-lib/buildlink3.mk b/databases/postgresql80-lib/buildlink3.mk index d22beaf905c..4be107e97cf 100644 --- a/databases/postgresql80-lib/buildlink3.mk +++ b/databases/postgresql80-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2005/02/06 13:21:45 taca Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2005/03/18 19:57:31 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ POSTGRESQL80_LIB_BUILDLINK3_MK:= ${POSTGRESQL80_LIB_BUILDLINK3_MK}+ @@ -17,6 +17,8 @@ BUILDLINK_PKGSRCDIR.postgresql80-lib?= ../../databases/postgresql80-lib BUILDLINK_INCDIRS.postgresql80-lib+= pgsql80/include BUILDLINK_LIBDIRS.postgresql80-lib+= pgsql80/lib +# This variable contains the libraries need to link most clients. +BUILDLINK_LDADD.postgresql80-lib= -lpq ${BUILDLINK_LDADD.gettext} .endif # POSTGRESQL80_LIB_BUILDLINK3_MK .include "../../security/openssl/buildlink3.mk" |