diff options
author | Tony Theodore <tonyt@logyst.com> | 2010-12-12 02:26:38 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2010-12-12 02:26:38 (GMT) |
commit | 97e321ab340c666b9ac50baf6575bcaa156faeaa (patch) | |
tree | bfbbf4a7b156f16ea37a46e374c74da30bb5766c /src/postgresql.mk | |
parent | 0d20234f54d5a92828e148da5dfca71755b3c4db (diff) | |
download | mxe-97e321ab340c666b9ac50baf6575bcaa156faeaa.zip mxe-97e321ab340c666b9ac50baf6575bcaa156faeaa.tar.gz mxe-97e321ab340c666b9ac50baf6575bcaa156faeaa.tar.bz2 |
avoid double unpacking in package postgresql
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r-- | src/postgresql.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk index 10aaa34..d94ca98 100644 --- a/src/postgresql.mk +++ b/src/postgresql.mk @@ -22,6 +22,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + cp -Rp '$(1)' '$(1).native' # The static OpenSSL libraries are in unix (not win32) naming style. $(SED) -i 's,SSLEAY32,SSL,' '$(1)'/configure $(SED) -i 's,ssleay32,ssl,' '$(1)'/configure @@ -57,8 +58,6 @@ define $(PKG)_BUILD $(INSTALL) -m644 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m644 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' # Build a native pg_config. - cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,postgresql) - mv '$(1)/$(postgresql_SUBDIR)' '$(1).native' $(SED) -i 's,-DVAL_,-D_DISABLED_VAL_,g' '$(1).native'/src/bin/pg_config/Makefile cd '$(1).native' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ |