]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql-ecpg-includedir.patch
- fix old version detection in pre script
[packages/postgresql.git] / postgresql-ecpg-includedir.patch
index bc82b97d16ca02ffe6d5803a3fc34b62e76a1365..6fdda298da356394f44549c089cfd338e34aa69a 100644 (file)
@@ -1,19 +1,18 @@
---- postgresql-7.4.1/src/interfaces/ecpg/include/Makefile.orig 2003-12-18 19:55:05.000000000 +0100
-+++ postgresql-7.4.1/src/interfaces/ecpg/include/Makefile      2003-12-23 18:57:34.712017440 +0100
+--- postgresql-9.3.0/src/interfaces/ecpg/include/Makefile~     2013-09-02 22:53:17.000000000 +0200
++++ postgresql-9.3.0/src/interfaces/ecpg/include/Makefile      2013-09-10 08:27:36.147290881 +0200
 @@ -19,12 +19,12 @@
- informix_headers = datetime.h decimal.h sqltypes.h sqlda.h
+ informix_headers = datetime.h decimal.h sqltypes.h
  
- install-headers: $(ecpg_headers) $(informix_headers)
--      for i in $(ecpg_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(includedir)' || exit; done
--      for i in $(informix_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(informix_esql_dir)' || exit; done
-+      for i in $(ecpg_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(includedir)/ecpg' || exit; done
-+      for i in $(informix_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(includedir)/ecpg' || exit; done
+ install-headers: $(ecpg_headers) $(informix_headers) installdirs
+-      $(INSTALL_DATA) $(addprefix $(srcdir)/,$(ecpg_headers)) '$(DESTDIR)$(includedir)/'
+-      $(INSTALL_DATA) $(addprefix $(srcdir)/,$(informix_headers)) '$(DESTDIR)$(informix_esql_dir)/'
++      $(INSTALL_DATA) $(addprefix $(srcdir)/,$(ecpg_headers)) '$(DESTDIR)$(includedir)/ecpg/'
++      $(INSTALL_DATA) $(addprefix $(srcdir)/,$(informix_headers)) '$(DESTDIR)$(includedir)/ecpg/'
        $(INSTALL_DATA) $(ecpg_config_h) '$(DESTDIR)$(includedir)'
  
  installdirs:
--      $(mkinstalldirs) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(informix_esql_dir)'
-+      $(mkinstalldirs) '$(DESTDIR)$(includedir)/ecpg'
+-      $(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(informix_esql_dir)'
++      $(MKDIR_P) '$(DESTDIR)$(includedir)/ecpg'
  
  uninstall:
        rm -f $(addprefix '$(DESTDIR)$(includedir)'/, $(ecpg_headers))
-
This page took 0.114721 seconds and 4 git commands to generate.