1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

x11/brisk-menu: Attempt to fix build order bug (D29353)

Uncovered while building with devel/samurai but can probably also
happen with ninja eventually.

In file included from ../src/mate-applet/applet.c:19:
In file included from ../src/frontend/classic/classic-window.h:14:
../src/frontend/classic/../menu-private.h:18:10: fatal error: 'libsaver-glue.h' file not found
 #include "libsaver-glue.h"
         ^~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommands failed

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/brisk-menu-0.6.2.log

PR:		254678
This commit is contained in:
Tobias Kortkamp 2021-04-07 05:48:51 +02:00
parent 157731dfea
commit 6428be4064
No known key found for this signature in database
GPG Key ID: A4F09FB73CC51F61

View File

@ -0,0 +1,20 @@
Attempt to unbreak parallel build
--- src/meson.build.orig 2021-04-05 04:30:02 UTC
+++ src/meson.build
@@ -13,6 +13,7 @@ libresources = static_library(
link_libresources = declare_dependency(
link_with: libresources,
+ sources: brisk_resources,
include_directories: [
data_include,
],
@@ -38,6 +39,7 @@ libsession_stub = static_library(
# Allow linking to the stub
link_libsession_stub = declare_dependency(
link_with: libsession_stub,
+ sources: [libsaver_glue, libsession_glue],
dependencies: [
dep_gio_unix,
],