Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2024 12:44:22 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 00fb86f229a1 - main - cad/gplcver: fix build on recent FreeBSD
Message-ID:  <202410281244.49SCiM6f074374@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00fb86f229a1f1203a363c5341121597586068f5

commit 00fb86f229a1f1203a363c5341121597586068f5
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-26 15:47:04 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-28 12:42:03 +0000

    cad/gplcver: fix build on recent FreeBSD
    
    The option -export-dynamic is a linker option not (no longer?)
    understood by the compiler; pass -rdynamic to the compiler to have it
    pass -export-dynamic to the linker instead.
---
 cad/gplcver/files/patch-src_makefile.freebsd | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cad/gplcver/files/patch-src_makefile.freebsd b/cad/gplcver/files/patch-src_makefile.freebsd
new file mode 100644
index 000000000000..8136213e4b88
--- /dev/null
+++ b/cad/gplcver/files/patch-src_makefile.freebsd
@@ -0,0 +1,11 @@
+--- src/makefile.freebsd.orig	2024-10-26 15:44:05 UTC
++++ src/makefile.freebsd
+@@ -45,7 +45,7 @@ LD=ld
+ # select loader
+ LD=ld
+ # needed for dynamic PLI loading
+-LFLAGS=-export-dynamic
++LFLAGS=-rdynamic
+ 
+ # system libs
+ LIBS= -lm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410281244.49SCiM6f074374>