Re: git: 4e0ab0ccde84 - main - cad/opencascade: fix the build without VIS

From: Craig Leres <leres_at_freebsd.org>
Date: Sat, 13 Nov 2021 20:46:53 UTC
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