1 diff -urN postgresql-7.1.org/src/interfaces/perl5/GNUmakefile postgresql-7.1/src/interfaces/perl5/GNUmakefile
2 --- postgresql-7.1.org/src/interfaces/perl5/GNUmakefile Thu Apr 19 21:50:23 2001
3 +++ postgresql-7.1/src/interfaces/perl5/GNUmakefile Thu Apr 19 22:49:37 2001
5 POSTGRES_INCLUDE="$(includedir)" \
6 $(PERL) $(srcdir)/Makefile.PL
7 $(MAKE) -f Makefile all
8 - -@if [ -w "`$(MAKE) --quiet -f Makefile echo-installdir`" ]; then \
9 - $(MAKE) -f Makefile install; \
10 + -@if [ -w "`$(MAKE) --quiet -f Makefile DESTDIR=\"$(DESTDIR)\" echo-installdir`" ]; then \
11 + $(MAKE) -f Makefile DESTDIR=\"$(DESTDIR)\" install; \
15 diff -urN postgresql-7.1.org/src/interfaces/python/GNUmakefile postgresql-7.1/src/interfaces/python/GNUmakefile
16 --- postgresql-7.1.org/src/interfaces/python/GNUmakefile Thu Apr 19 21:50:23 2001
17 +++ postgresql-7.1/src/interfaces/python/GNUmakefile Thu Apr 19 23:24:36 2001
21 @echo "Installing Python module"
22 - @if ( $(INSTALL_DATA) pg.py $(python_moduledir) && \
23 - $(MAKE) -f Makefile install ); then : ; else \
24 + @if ( $(INSTALL_DATA) pg.py $(DESTDIR)$(python_moduledir) && \
25 + $(MAKE) -f Makefile LIBDIR=\"$(LIBDIR)\" install ); then : ; else \
27 echo "* Skipping the installation of the Python interface module for lack"; \
28 echo "* of permissions. To install it, change to the directory"; \
29 diff -urN postgresql-7.1.org/src/pl/plperl/GNUmakefile postgresql-7.1/src/pl/plperl/GNUmakefile
30 --- postgresql-7.1.org/src/pl/plperl/GNUmakefile Thu Apr 19 21:50:23 2001
31 +++ postgresql-7.1/src/pl/plperl/GNUmakefile Thu Apr 19 21:50:33 2001
35 install: all installdirs
36 - $(MAKE) -f Makefile install
37 + $(MAKE) -f Makefile install DESTDIR=\"$(DESTDIR)\"
40 $(mkinstalldirs) $(DESTDIR)$(plperl_installdir)
41 diff -urN postgresql-7.1.org/src/pl/plperl/Makefile.PL postgresql-7.1/src/pl/plperl/Makefile.PL
42 --- postgresql-7.1.org/src/pl/plperl/Makefile.PL Thu Apr 19 21:50:23 2001
43 +++ postgresql-7.1/src/pl/plperl/Makefile.PL Thu Apr 19 21:50:53 2001
48 - cp \$(INST_DYNAMIC) $ENV{plperl_installdir}
49 + cp \$(INST_DYNAMIC) \$(DESTDIR)$ENV{plperl_installdir}