Files
ports/databases/postgresql-plv8js/files/patch-Makefile
T
Michael Zhilin 7af99c906f databases/postgresql-plv8js: update to 3.2.4
Changes:
- fix GUC assignment issue
- fix possible out of bounds in windowing
- better handling of composite types
- add named composite record support
- better management of in/out/inout variables
- more removal of unsupported postgres version
- patch v8 build from breaking macos 15.5 change
- fix macro attribute access (enables pg 18 support)
- additional checks for plv8 external arrays
2026-01-01 16:15:17 +03:00

34 lines
1.1 KiB
Plaintext

--- Makefile.orig 2025-07-05 17:44:26 UTC
+++ Makefile
@@ -37,20 +37,8 @@ SHLIB_LINK += -Ldeps/v8-cmake/build
SHLIB_LINK += -Ldeps/v8-cmake/build
-all: v8 $(OBJS)
+all: $(OBJS)
-# For some reason, this solves parallel make dependency.
-plv8_config.h plv8.so: v8
-
-deps/v8-cmake/README.md:
- @git submodule update --init --recursive
- $(foreach patch,$(PATCH_V8),cd deps/v8-cmake && patch -p1 <../../$(patch);)
-
-deps/v8-cmake/build/libv8_libbase.a: deps/v8-cmake/README.md
- @cd deps/v8-cmake && mkdir -p build && cd build && cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -Denable-fPIC=ON -DCMAKE_BUILD_TYPE=Release ../ && make -j $(NUMPROC)
-
-v8: deps/v8-cmake/build/libv8_libbase.a
-
# enable direct jsonb conversion by default
CCFLAGS += -DJSONB_DIRECT_CONVERSION
@@ -76,7 +64,7 @@ endif
REGRESS += bigint_graceful
endif
-SHLIB_LINK += -lv8_base_without_compiler -lv8_compiler -lv8_snapshot -lv8_inspector -lv8_libplatform -lv8_base_without_compiler -lv8_libsampler -lv8_torque_generated -lv8_libbase
+SHLIB_LINK += -lv8_libbase -lv8 -lv8_libplatform
OPTFLAGS = -std=c++17 -fno-rtti -O2
CCFLAGS += -Wall $(OPTFLAGS)