ca9de5d453
Fixes /usr/local/lib/postgresql/plv8-3.0.0.so: Undefined symbol "_ZTIN2v811ArrayBuffer9AllocatorE" Also enable V8 pointer compression, fixes Embedder-vs-V8 build configuration mismatch. On embedder side pointer compression is DISABLED while on V8 side it's ENABLED. PR: 259262 Reported by: ryan@cybership.net Submitted by: felix@palmen-it.de Sponsored by: Postgres Professional
29 lines
670 B
Makefile
29 lines
670 B
Makefile
# Created by: vanilla@
|
|
|
|
PORTNAME= plv8
|
|
PORTVERSION= 3.0.0
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
|
PKGNAMESUFFIX= js
|
|
|
|
MAINTAINER= mizhka@FreeBSD.org
|
|
COMMENT= PL/v8js procedural language for PostgreSQL database
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= libv8.so:lang/v8
|
|
|
|
USES= compiler:c++14-lang gmake perl5 pgsql
|
|
USE_PERL5= build
|
|
USE_GITHUB= yes
|
|
PLIST_SUB= PORTVERSION="${PORTVERSION}"
|
|
|
|
CXXFLAGS+= -std=c++14 -fno-rtti \
|
|
-DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1
|
|
MAKEFILE= Makefile.shared
|
|
MAKE_ARGS= CUSTOM_CC=${CXX} CCFLAGS="${CXXFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|