python installation patch. - Mailing list pgsql-patches

From Anand
Subject python installation patch.
Date
Msg-id 20010627130544.A22360@Psmith.blandings.com
Whole thread Raw
Responses Re: python installation patch.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: python installation patch.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Hi, I came across a problem while building postgresql 7.1.2 for my
environment where the default python in my path is not the python to be
used to deduce the installation directory. While the GNUmakefile works
correctly, the generated makefile seemed to have problems. I found that
this patch helps to fix the problem. The patch below is against the latest
version in cvs.

Thanks
Anand
--
Anand Ranganathan            anand@blandings.com

----------------------------------------------------------------------
--- src/interfaces/python/GNUmakefile.orig    Wed Jun 27 12:53:48 2001
+++ src/interfaces/python/GNUmakefile Wed Jun 27 12:55:06 2001
@@ -20,7 +20,7 @@
        $(MAKE) -C $(libpq_builddir) all

 Makefile: Setup.in Makefile.pre.in
-       $(MAKE) -f Makefile.pre.in boot srcdir=$(srcdir) VPATH=$(srcdir)
+       $(MAKE) -f Makefile.pre.in boot srcdir=$(srcdir) VPATH=$(srcdir) PYTHON=$(PYTHON)

 Makefile.pre.in: $(python_makefile_pre_in)
        cp $< $@


pgsql-patches by date:

Previous
From: Barry Lind
Date:
Subject: Re: [JDBC] High Memory Usage Patch -- Disregard my last message
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [JDBC] High Memory Usage Patch -- Disregard my last message