Mercurial > mxe-octave
diff src/postgresql.mk @ 3393:166294cad9f0
Update postqresql to 9.2.4 from mxe_devel repo
* index.hml: set postgresql-version=9.2.4
* src/postgresql-1-fixes.patch: update patch from mxe_devel repo.
* src/postgresql.mk: update checksum and installed include files.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 03 Jan 2014 15:08:08 -0500 |
parents | 11f8ec654cd4 |
children | 1ad098269cfb |
line wrap: on
line diff
--- a/src/postgresql.mk Fri Jan 03 14:05:33 2014 -0500 +++ b/src/postgresql.mk Fri Jan 03 15:08:08 2014 -0500 @@ -3,7 +3,7 @@ PKG := postgresql $(PKG)_IGNORE := -$(PKG)_CHECKSUM := cea9601b3acd1484fd98441b49a15ea1c42057ec +$(PKG)_CHECKSUM := 75b53c884cb10ed9404747b51677358f12082152 $(PKG)_SUBDIR := postgresql-$($(PKG)_VERSION) $(PKG)_FILE := postgresql-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://ftp.postgresql.org/pub/source/v$($(PKG)_VERSION)/$($(PKG)_FILE) @@ -34,7 +34,7 @@ $($(PKG)_CONFIGURE_FLAGS_OPTION) \ --prefix='$(HOST_PREFIX)' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ - --enable-shared \ + $(ENABLE_SHARED_OR_STATIC) \ --disable-rpath \ --without-tcl \ --without-perl \ @@ -57,6 +57,8 @@ $(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install haslibarule= $(INSTALL) -m644 '$(1)/src/include/pg_config.h' '$(HOST_INCDIR)' $(INSTALL) -m644 '$(1)/src/include/postgres_ext.h' '$(HOST_INCDIR)' + $(INSTALL) -d '$(HOST_INCDIR)/libpq' + $(INSTALL) -m644 '$(1)'/src/include/libpq/* '$(HOST_INCDIR)/libpq/' # Build a native pg_config. $(SED) -i 's,-DVAL_,-D_DISABLED_VAL_,g' '$(1).native'/src/bin/pg_config/Makefile cd '$(1).native' && ./configure \