diff options
Diffstat (limited to 'external/postgresql/UnpackedTarball_postgresql.mk')
-rw-r--r-- | external/postgresql/UnpackedTarball_postgresql.mk | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/external/postgresql/UnpackedTarball_postgresql.mk b/external/postgresql/UnpackedTarball_postgresql.mk index 90b363c2dccf..594b6dd0a5e7 100644 --- a/external/postgresql/UnpackedTarball_postgresql.mk +++ b/external/postgresql/UnpackedTarball_postgresql.mk @@ -11,21 +11,16 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,postgresql)) $(eval $(call gb_UnpackedTarball_set_tarball,postgresql,$(POSTGRESQL_TARBALL),,postgresql)) -$(eval $(call gb_UnpackedTarball_update_autoconf_configs,postgresql,config)) - -$(eval $(call gb_UnpackedTarball_set_patchlevel,postgresql,3)) - $(eval $(call gb_UnpackedTarball_add_patches,postgresql, \ - external/postgresql/postgresql-libs-leak.patch \ - external/postgresql/postgresql-9.2.1-libreoffice.patch \ external/postgresql/windows.patch.0 \ - external/postgresql/postgresql.exit.patch.0 \ + external/postgresql/postgres-msvc-build.patch.1 \ + $(if $(filter WNT_ARM64,$(OS)_$(CPUNAME)), external/postgresql/arm64.patch.1) \ )) -ifeq ($(SYSTEM_ZLIB),) -$(eval $(call gb_UnpackedTarball_add_patches,postgresql, \ - external/postgresql/internal-zlib.patch.1 \ -)) +ifeq ($(CROSS_COMPILING),) +$(eval $(call gb_UnpackedTarball_add_file,postgresql,src/tools/msvc/config.pl,external/postgresql/config.pl)) endif +$(eval $(call gb_UnpackedTarball_update_autoconf_configs,postgresql)) + # vim: set noet sw=4 ts=4: |