Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2021 12:46:53 -0800
From:      Craig Leres <leres@freebsd.org>
To:        Thierry Thomas <thierry@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 4e0ab0ccde84 - main - cad/opencascade: fix the build without VIS
Message-ID:  <d92103fc-5493-cf25-5e21-f3298fa7eaf4@freebsd.org>
In-Reply-To: <202111121752.1ACHq5GK048093@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 11/12/21 09:52, Thierry Thomas wrote:
> The branch main has been updated by thierry:
> 
> URL:https://cgit.FreeBSD.org/ports/commit/?id=4e0ab0ccde840334aaf7ac9a9b8250d9809ad7dc
> 
> commit 4e0ab0ccde840334aaf7ac9a9b8250d9809ad7dc
> Author:     Craig Leres<leres@FreeBSD.org>
> AuthorDate: 2021-11-12 17:39:30 +0000
> Commit:     Thierry Thomas<thierry@FreeBSD.org>
> CommitDate: 2021-11-12 17:51:09 +0000
> 
>      cad/opencascade: fix the build without VIS
>      
>      Always depend on print/freetype2 in order to fix the build without VIS.
>      Reported by:leres@freebsd.org
> ---

Sorry but when I tested in a poudriere jail I didn't test 
install/package, looks like the pkg-plist also needs an adjustment when 
building without VIS (see attached).

		Craig


zinc 5 @ make install
===>  Installing for opencascade-7.6.0
===>  Checking if opencascade is already installed
===>   Registering installation for opencascade-7.6.0
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGles.so:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGles.so.7:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGles.so.7.6.0:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGlesTest.so:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGlesTest.so.7:No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/cad/opencascade/work/stage/usr/local/lib/libTKOpenGlesTest.so.7.6.0:No 
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/cad/opencascade
[-- Attachment #2 --]
diff --git a/cad/opencascade/pkg-plist b/cad/opencascade/pkg-plist
index eb47619d90..e871d1900e 100644
--- a/cad/opencascade/pkg-plist
+++ b/cad/opencascade/pkg-plist
@@ -27180,12 +27180,12 @@ lib/libTKOpenGl.so.%%VER%%
 lib/libTKOpenGlTest.so
 lib/libTKOpenGlTest.so.%%VE%%
 lib/libTKOpenGlTest.so.%%VER%%
-lib/libTKOpenGles.so
-lib/libTKOpenGles.so.%%VE%%
-lib/libTKOpenGles.so.%%VER%%
-lib/libTKOpenGlesTest.so
-lib/libTKOpenGlesTest.so.%%VE%%
-lib/libTKOpenGlesTest.so.%%VER%%
+%%VIS%%lib/libTKOpenGles.so
+%%VIS%%lib/libTKOpenGles.so.%%VE%%
+%%VIS%%lib/libTKOpenGles.so.%%VER%%
+%%VIS%%lib/libTKOpenGlesTest.so
+%%VIS%%lib/libTKOpenGlesTest.so.%%VE%%
+%%VIS%%lib/libTKOpenGlesTest.so.%%VER%%
 lib/libTKPrim.so
 lib/libTKPrim.so.%%VE%%
 lib/libTKPrim.so.%%VER%%
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d92103fc-5493-cf25-5e21-f3298fa7eaf4>