[Midnightbsd-cvs] [MidnightBSD/mports] 62a21f: japanese/mozc-server: fix UnboundLocalError in bui...

Lucas Holt noreply at github.com
Sat May 23 22:16:01 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 62a21fb6ab6787b85ff37c7ed8b9996679f91961
      https://github.com/MidnightBSD/mports/commit/62a21fb6ab6787b85ff37c7ed8b9996679f91961
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-23 (Sat, 23 May 2026)

  Changed paths:
    A japanese/mozc-server/files/patch-src_build__mozc.py
    M www/node24/Makefile

  Log Message:
  -----------
  japanese/mozc-server: fix UnboundLocalError in build_mozc.py on non-Linux platforms

AddTargetPlatformOption only set default_target for Linux, Windows, Mac.
On FreeBSD/MidnightBSD, IsLinux() returns False (checks os.uname()[0]=='Linux'),
leaving default_target unset and raising UnboundLocalError in Python 3.

Add else clause to fall back to 'Linux' for *BSD platforms.

www/node24: use base system sqlite3 instead of port

Change sqlite:port to sqlite so that when /usr/lib/libsqlite3.so and
/usr/include/sqlite3.h exist (MidnightBSD base system), no mport package
dependency on databases/sqlite3 is generated. This fixes rubygem-execjs
install failures caused by the sqlite3 package not being found.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list