1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk
Li-Wen Hsu 6b0c7daec2 - Update LibreOffice to 6.0.2 [1]
- Build offline help when DOCS option enabled [2]
- Fix bad symlink and add missing dependencies [3]

PR:		224288 [1] 197071 [2] 226344 [3]
Submitted by:	Greg V <greg@unrelenting.technology> [1]
		bergerkos@yahoo.co.uk [2]
Reported by:	joneum [3]
Helped & tested by:	Daniel Ebdrup
			Greg Veldman <freebsd@gregv.net>
			Per olof Ljungmark <peo@nethead.se>
			StariKarp <starikarp@yandex.com>
			pi
Security:	289269f1-0def-11e8-99b0-d017c2987f9a
2018-03-17 06:31:11 +00:00

19 lines
479 B
Makefile

--- vcl/Executable_visualbackendtest.mk.orig 2017-05-03 16:46:29 UTC
+++ vcl/Executable_visualbackendtest.mk
@@ -41,13 +41,12 @@ $(eval $(call gb_Executable_use_static_libraries,visua
vclmain \
))
-ifeq ($(OS),LINUX)
+ifeq ($(OS), $(filter LINUX %BSD, $(OS)))
$(eval $(call gb_Executable_add_libs,visualbackendtest,\
- -lm \
- -ldl \
+ -lm $(DLOPEN_LIBS) \
-lpthread \
- -lX11 \
+ -lX11 \
))
$(eval $(call gb_Executable_use_static_libraries,visualbackendtest,\