What will happen when Postgres 8.2 integrates with another set of
code in /usr/postgres/8.2/{bin,lib,..} via SUNWpostgr-82 packages?

Will the code you are linking against work with both versions?

        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering

Julius Stroffek wrote:
> Hi All,
> 
> I would like someone to review a very small patch to SFWmphp package to 
> enable PostgreSQL support. I have added the option '--with-pgsql=/usr' 
> to configure script and added the corresponding packages to 
> dependencies. The patch is attached to the message. I have tested the 
> build and functionality on Nevada and S10U3, both are fine. Thanks in an 
> advance.
> 
> Cheers
> 
> Julo
> 
> 
> ------------------------------------------------------------------------
> 
> Index: src/cmd/php/Makefile.sfw
> ===================================================================
> --- src/cmd/php/Makefile.sfw  (revision 93)
> +++ src/cmd/php/Makefile.sfw  (working copy)
> @@ -70,6 +70,7 @@
>               --with-apxs=/usr/apache/bin/apxs \
>               --with-config-file-path=/etc/apache \
>               --with-mysql --enable-track-vars \
> +             --with-pgsql=/usr \
>               --prefix=/opt/sfw)
>  
>  $(VER)/configure: $(VER).tar.bz2
> Index: src/pkgdefs/SFWmphp/depend
> ===================================================================
> --- src/pkgdefs/SFWmphp/depend        (revision 93)
> +++ src/pkgdefs/SFWmphp/depend        (working copy)
> @@ -49,3 +49,4 @@
>  P SUNWcsd Core Solaris Devices
>  P SUNWcsl Core Solaris Libraries
>  P SUNWmysqlu MySQL database package
> +P SUNWpostgr PostgreSQL 8.1.4 client programs and libraries
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> companion-discuss mailing list
> companion-discuss at opensolaris.org
> http://opensolaris.org/mailman/listinfo/companion-discuss


Reply via email to