diff --git a/databases/rubygem-pg_query/Makefile b/databases/rubygem-pg_query/Makefile index e9dcd7cb41353..3d68bdd5ac622 100644 --- a/databases/rubygem-pg_query/Makefile +++ b/databases/rubygem-pg_query/Makefile @@ -1,5 +1,6 @@ PORTNAME= pg_query PORTVERSION= 5.1.0 +PORTREVISION= 1 CATEGORIES= databases rubygems MASTER_SITES= RG @@ -10,11 +11,12 @@ WWW= https://github.com/lfittl/pg_query LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_15= fails to link: ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined - BUILD_DEPENDS= rubygem-pathname>0:devel/rubygem-pathname RUN_DEPENDS= rubygem-google-protobuf>=3.22.3:devel/rubygem-google-protobuf USES= gem +post-patch: +# ${RM} ${WRKSRC}/ext/pg_query/pg_query_ruby_freebsd.sym + .include diff --git a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym deleted file mode 100644 index 8145d31d5de35..0000000000000 --- a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym +++ /dev/null @@ -1,5 +0,0 @@ ---- ext/pg_query/pg_query_ruby.sym.orig 2023-11-19 20:29:16 UTC -+++ ext/pg_query/pg_query_ruby.sym -@@ -1 +1 @@ --_Init_pg_query -+Init_pg_query diff --git a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym new file mode 100644 index 0000000000000..5f2ef87b78ee7 --- /dev/null +++ b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym @@ -0,0 +1,5 @@ +--- ext/pg_query/pg_query_ruby_freebsd.sym.orig 2024-03-07 07:21:50 UTC ++++ ext/pg_query/pg_query_ruby_freebsd.sym +@@ -1,2 +1 @@ +-_Init_pg_query + Init_pg_query