pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk allow postgresql80 (from wip), similar to java-vm.m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c937b170c53e
branches:  trunk
changeset: 488450:c937b170c53e
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Feb 01 11:07:31 2005 +0000

description:
allow postgresql80 (from wip), similar to java-vm.mk and jdk14

diffstat:

 mk/pgsql.buildlink3.mk |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r ad5384c9087a -r c937b170c53e mk/pgsql.buildlink3.mk
--- a/mk/pgsql.buildlink3.mk    Tue Feb 01 10:22:20 2005 +0000
+++ b/mk/pgsql.buildlink3.mk    Tue Feb 01 11:07:31 2005 +0000
@@ -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 @@
 .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 @@
 .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 @@
 #
 # 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



Home | Main Index | Thread Index | Old Index