git: ea250213fcb0 - main - math/scilab: fix build without GUI option

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 17 Feb 2022 16:41:33 UTC
The branch main has been updated by pkubaj:

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

commit ea250213fcb020f1af69a7e6bd99d2e63c610396
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-17 16:38:57 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-17 16:38:57 +0000

    math/scilab: fix build without GUI option
    
    Detected on powerpc64le, but happens also on amd64 after disabling GUI.
---
 math/scilab/pkg-plist | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/math/scilab/pkg-plist b/math/scilab/pkg-plist
index 7baa70df9814..b440b1144c21 100644
--- a/math/scilab/pkg-plist
+++ b/math/scilab/pkg-plist
@@ -17723,11 +17723,11 @@ share/mime/packages/scilab.xml
 %%DATADIR%%/modules/ui_data/images/icons/16x16/mimetypes/user.png
 %%GUI%%%%DATADIR%%/modules/ui_data/jar/org.scilab.modules.ui_data.jar
 %%DATADIR%%/modules/ui_data/license.txt
-%%DATADIR%%/modules/ui_data/macros/browsevar_seeSpecial.bin
+%%GUI%%%%DATADIR%%/modules/ui_data/macros/browsevar_seeSpecial.bin
 %%DATADIR%%/modules/ui_data/macros/browsevar_seeSpecial.sci
 %%DATADIR%%/modules/ui_data/macros/buildmacros.sce
-%%DATADIR%%/modules/ui_data/macros/lib
-%%DATADIR%%/modules/ui_data/macros/uiSpreadsheet.bin
+%%GUI%%%%DATADIR%%/modules/ui_data/macros/lib
+%%GUI%%%%DATADIR%%/modules/ui_data/macros/uiSpreadsheet.bin
 %%DATADIR%%/modules/ui_data/macros/uiSpreadsheet.sci
 %%DATADIR%%/modules/ui_data/sci_gateway/ui_data_gateway.xml
 %%DATADIR%%/modules/ui_data/tests/nonreg_tests/bug_10402.tst