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 | 4251d4b648cb04303f8bff71b1b0d4e9c67aae63 (patch) | |
tree | 5156bfe176a6f876f1e5567287637039d9599cae /databases | |
parent | 83f1049c8ab119bb9b17c192ea4683608ecd0efa (diff) | |
download | pkgsrc-4251d4b648cb04303f8bff71b1b0d4e9c67aae63.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')
-rw-r--r-- | databases/postgresql73-lib/buildlink3.mk | 5 | ||||
-rw-r--r-- | databases/postgresql74-lib/buildlink3.mk | 5 | ||||
-rw-r--r-- | databases/postgresql80-lib/buildlink3.mk | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/databases/postgresql73-lib/buildlink3.mk b/databases/postgresql73-lib/buildlink3.mk index 513f846010b..4a42e4099dd 100644 --- a/databases/postgresql73-lib/buildlink3.mk +++ b/databases/postgresql73-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/24 22:17:58 recht Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2005/03/18 19:57:31 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ POSTGRESQL73_LIB_BUILDLINK3_MK:= ${POSTGRESQL73_LIB_BUILDLINK3_MK}+ @@ -17,6 +17,9 @@ BUILDLINK_INCDIRS.postgresql73-lib?= include/postgresql BUILDLINK_FILES.postgresql73-lib+= include/pgsql/* BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/*.h BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/utils/*.h + +# This variable contains the libraries need to link most clients. +BUILDLINK_LDADD.postgresql73-lib= -lpq .endif # POSTGRESQL73_LIB_BUILDLINK3_MK .include "../../security/openssl/buildlink3.mk" diff --git a/databases/postgresql74-lib/buildlink3.mk b/databases/postgresql74-lib/buildlink3.mk index f884c63ab2f..6a9079dbabb 100644 --- a/databases/postgresql74-lib/buildlink3.mk +++ b/databases/postgresql74-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2004/12/02 10:41:33 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2005/03/18 19:57:31 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ POSTGRESQL74_LIB_BUILDLINK3_MK:= ${POSTGRESQL74_LIB_BUILDLINK3_MK}+ @@ -15,6 +15,9 @@ BUILDLINK_DEPENDS.postgresql74-lib+= postgresql{74,}-lib>=7.4.0 BUILDLINK_RECOMMENDED.postgresql74-lib+= postgresql74-lib>=7.4.3 BUILDLINK_PKGSRCDIR.postgresql74-lib?= ../../databases/postgresql74-lib BUILDLINK_INCDIRS.postgresql74-lib?= include/postgresql + +# This variable contains the libraries need to link most clients. +BUILDLINK_LDADD.postgresql74-lib= -lpq ${BUILDLINK_LDADD.gettext} .endif # POSTGRESQL74_LIB_BUILDLINK3_MK .include "../../security/openssl/buildlink3.mk" 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" |