freebsd-ports/editors/openoffice-devel/files/patch-solenv_inc_unxfbsd.mk
Don Lewis 21c8a01919 editors/openoffice-*: Unbreak build on 15.0-CURRENT
Revert "editors/openoffice-*: Unbreak build on 15.0-CURRENT"

Undo the switch to llvm from ports.

This reverts commit f25b169ac8.

Instead, pass --undefined-version to the linker to avoid the build
breakage on -CURRENT by the change to the default value for this
switch.

Tidy up LIB_DEPENDS.
2023-12-19 19:28:09 -08:00

11 lines
585 B
Makefile

--- solenv/inc/unxfbsd.mk.orig 2019-09-17 22:55:21 UTC
+++ solenv/inc/unxfbsd.mk
@@ -173,7 +173,7 @@ LINKFLAGSRUNPATH_NONE=
LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
#LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
-LINKFLAGS=-Wl,-z,combreloc $(LDFLAGS) $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE)
+LINKFLAGS=-Wl,-z,combreloc -Wl,--undefined-version $(LDFLAGS) $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE)
# linker flags for linking applications
LINKFLAGSAPPGUI= -Wl,-export-dynamic -Wl,--noinhibit-exec \