postgresql: Update to 9.4.0

This commit is contained in:
Alexpux
2014-12-27 21:59:04 +03:00
parent 131da4bacd
commit 8de993067a
2 changed files with 14 additions and 13 deletions

View File

@@ -1,16 +1,16 @@
--- postgresql-9.3.1/src/pl/plpython/Makefile.orig 2013-12-01 09:52:55.043200000 +0400
+++ postgresql-9.3.1/src/pl/plpython/Makefile 2013-12-01 09:54:53.591200000 +0400
--- postgresql-9.4.0/src/pl/plpython/Makefile.orig 2014-12-27 09:52:55.043200000 +0400
+++ postgresql-9.4.0/src/pl/plpython/Makefile 2014-12-27 09:54:53.591200000 +0400
@@ -63,11 +63,8 @@
ifeq ($(PORTNAME), win32)
pytverstr=$(subst .,,${python_version})
OBJS += libpython${pytverstr}.a
-libpython${pytverstr}.a: python${pytverstr}.def
- dlltool --dllname python${pytverstr}.dll --def python${pytverstr}.def --output-lib libpython${pytverstr}.a
-WD=$(subst \,/,$(WINDIR))
- dlltool --dllname python${pytverstr}.dll --def python${pytverstr}.def --output-lib libpython${pytverstr}.a
-
-python${pytverstr}.def:
- pexports $(WD)/system32/python${pytverstr}.dll > python${pytverstr}.def
- pexports $(PYTHONDLL) > $@
+libpython${pytverstr}.a:
+ cp -f $(python_libdir)/libpython${python_version}.dll.a libpython${pytverstr}.a
endif
endif # win32