Subject: pkg/34868: postgresql81 support in mk/pgsql.buildlink3.mk for Darwin(MacOS X)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mochid@netside.co.jp>
List: pkgsrc-bugs
Date: 10/20/2006 12:20:00
>Number: 34868
>Category: pkg
>Synopsis: postgresql81 support in mk/pgsql.buildlink3.mk for Darwin(MacOS X)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Oct 20 12:20:00 +0000 2006
>Originator: MOCHIDA Shuji
>Release: current pkgsrc
>Organization:
person
>Environment:
MacOS X 10.3.9 (Darwin 7.9.0)
System: Darwin xxx 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh (Mac mini)
>Description:
There is no "_PGSQL_VERSION_81_INSTALLED= yes" line
in mk/pgsql.buildlink3.mk.
>How-To-Repeat:
Make ruby-postgresql with postgresql81-client installed.
>Fix:
--- mk/pgsql.buildlink3.mk.ORIG Thu Oct 19 17:56:38 2006
+++ mk/pgsql.buildlink3.mk Fri Oct 20 13:33:16 2006
@@ -36,6 +36,9 @@
# check what is installed
.if ${OPSYS} == "Darwin"
+.if exists(${LOCALBASE}/lib/libecpg.5.0.1.dylib)
+_PGSQL_VERSION_81_INSTALLED= yes
+.endif
.if exists(${LOCALBASE}/lib/libecpg.5.0.dylib)
_PGSQL_VERSION_80_INSTALLED= yes
.endif