On 2/28/2024 5:36 AM, Theo Buehler wrote:
> On Sun, Feb 25, 2024 at 06:43:48AM -0700, Brian Callahan wrote:
>> CVSROOT:     /cvs
>> Module name: ports
>> Changes by:  bcal...@cvs.openbsd.org 2024/02/25 06:43:48
>>
>> Modified files:
>>      fonts/unifont  : Makefile distinfo 
>>      fonts/unifont/pkg: PLIST 
>>
>> Log message:
>> Update to unifont-15.1.05, no longer ships ttf fonts, only otf fonts
>>
> 
> This update broke audio/ocp:
> 
> checking for freetype2... yes
> checking for /usr/local/share/fonts/unifont/unifont.ttf... no
> checking for /usr/local/share/fonts/opentype/unifont/unifont.otf... no
> configure: error: /usr/local/share/fonts/unifont/unifont.ttf and 
> /usr/local/share/fonts/opentype/unifont/unifont.otf (unifont.ttf and 
> unifont.otf) not found - please use --with-unifontdir-ttf=/dir/ or 
> --with-unifontdir-otf or --with-unifont-ttf=/dir/file or 
> --with-unifont-otf=/dir/file (needed by X11, SDL1.x and SDL2)
> 

Yup. Naddy alerted me yesterday. Here's the diff to fix.
Note that on my machine, the sdl client doesn't work. But it also
doesn't work when I rolled back Unifont and used the TTF fonts.

~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/ocp/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile    6 Sep 2023 15:20:31 -0000       1.35
+++ Makefile    27 Feb 2024 13:17:52 -0000
@@ -3,6 +3,7 @@ BROKEN-alpha =  arctar.c:384: internal co
 COMMENT =      UNIX port of Open Cubic Player
 
 DISTNAME =     ocp-0.2.106
+REVISION =     0
 CATEGORIES =   audio
 
 HOMEPAGE =     https://stian.cubic.org/project-ocp.php
@@ -55,7 +56,7 @@ CONFIGURE_ARGS = --with-dir-suffix="" \
                 --without-x11 \
                 --without-update-desktop-database \
                 --without-update-mime-database \
-                --with-unifontdir-ttf=${PREFIX}/share/fonts/unifont
+                --with-unifontdir-otf=${PREFIX}/share/fonts/unifont
 
 USE_GMAKE =    Yes
 

Reply via email to