git: 8fd03ddac3e4 - main - graphics/gegl: disable relocatable

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Mon, 02 Feb 2026 17:58:40 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fd03ddac3e426a07c07911c8551b2891a58f4fb

commit 8fd03ddac3e426a07c07911c8551b2891a58f4fb
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-02-02 17:54:29 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-02-02 17:58:28 +0000

    graphics/gegl: disable relocatable
    
    On discussing with upstream, "relocatable" does not mean ELF
    relocation. Currently enabling the feature causes GIMP and other
    consumers build and runtime failures.
    
    While here, update comment in x11/babl due to similar architecture.
    
    Reported by: Tatsuki Makino
---
 graphics/gegl/Makefile | 6 ++++--
 x11/babl/Makefile      | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index bb6533e3e7e6..0b07b7c31da0 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gegl
 DISTVERSION=	0.4.66
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	GIMP
 
@@ -33,8 +34,9 @@ MESON_ARGS=	-Ddocs=false \
 		-Dmaxflow=disabled \
 		-Dmrg=disabled \
 		-Dpygobject=disabled \
-		-Dlua=disabled \
-		-Drelocatable=enabled
+		-Dlua=disabled
+# relocatable does not mean ELF relocation
+MESON_ARGS+=	-Drelocatable=disabled
 .if !exists(/usr/include/omp.h)
 MESON_ARGS+=	-Dopenmp=disabled
 .endif
diff --git a/x11/babl/Makefile b/x11/babl/Makefile
index 5138ee7eab37..610327294046 100644
--- a/x11/babl/Makefile
+++ b/x11/babl/Makefile
@@ -18,7 +18,7 @@ USES=		compiler:c11 gnome meson pathfix pkgconfig tar:xz vala:build
 USE_GNOME=	introspection:build
 USE_LDCONFIG=	yes
 
-# relocatable is currently supported on Linux, Windows and macOS only
+# relocatable does not mean ELF relocation
 MESON_ARGS=	-Dgi-docgen=disabled -Dwith-docs=false -Drelocatable=disabled
 
 BABL_SHLIB=	0.221.1