]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql-DESTDIR.patch
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/postgresql.git] / postgresql-DESTDIR.patch
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
4 @@ -40,8 +40,8 @@
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; \
12                 $(MAKE) clean; \
13         else \
14                 echo "*****" ;\
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
18 @@ -34,8 +34,8 @@
19  
20  install: all
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 \
26                 echo "*****" ;\
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
32 @@ -16,7 +16,7 @@
33         $(PERL) $<
34  
35  install: all installdirs
36 -       $(MAKE) -f Makefile install
37 +       $(MAKE) -f Makefile install DESTDIR=\"$(DESTDIR)\"
38  
39  installdirs:
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
44 @@ -84,7 +84,7 @@
45  
46  qq[
47  install :: all
48 -       cp \$(INST_DYNAMIC) $ENV{plperl_installdir}
49 +       cp \$(INST_DYNAMIC) \$(DESTDIR)$ENV{plperl_installdir}
50  ];
51  
52  }
This page took 0.025305 seconds and 3 git commands to generate.