diff options
author | abs <abs@pkgsrc.org> | 2005-02-01 11:07:31 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2005-02-01 11:07:31 +0000 |
commit | 88def8d797d5e984cb0b05a78a7103f8e5ee2ffd (patch) | |
tree | 32ed3b1d460622ea45b3bb4a455653051f5ad1c3 /mk | |
parent | 2a1488381552ac5f4475105dd9e6959c0426380c (diff) | |
download | pkgsrc-88def8d797d5e984cb0b05a78a7103f8e5ee2ffd.tar.gz |
allow postgresql80 (from wip), similar to java-vm.mk and jdk14
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pgsql.buildlink3.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index 2ec2318b5b7..07dc3a4493d 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.3 2004/10/26 21:39:33 xtraeme Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.4 2005/02/01 11:07:31 abs Exp $ .if !defined(PGVERSION_MK) PGVERSION_MK= defined @@ -6,7 +6,7 @@ PGVERSION_MK= defined .include "../../mk/bsd.prefs.mk" PGSQL_VERSION_DEFAULT?= 74 -PGSQL_VERSIONS_ACCEPTED?= 74 73 +PGSQL_VERSIONS_ACCEPTED?= 80 74 73 # transform the list into individual variables .for pv in ${PGSQL_VERSIONS_ACCEPTED} @@ -14,6 +14,9 @@ _PGSQL_VERSION_${pv}_OK= yes .endfor # check what is installed +.if exists(${LOCALBASE}/lib/libecpg.so.4.2) +_PGSQL_VERSION_80_INSTALLED= yes +.endif .if exists(${LOCALBASE}/lib/libecpg.so.4) _PGSQL_VERSION_74_INSTALLED= yes .endif @@ -58,7 +61,9 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED} # # set variables for the version we decided to use: # -.if ${_PGSQL_VERSION} == "74" +.if ${_PGSQL_VERSION} == "80" +PGPKGSRCDIR= ../../wip/postgresql80-lib +.elif ${_PGSQL_VERSION} == "74" PGPKGSRCDIR= ../../databases/postgresql74-lib .elif ${_PGSQL_VERSION} == "73" PGPKGSRCDIR= ../../databases/postgresql73-lib |