Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 20:20:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263163] games/xboard: with default of no engine installed, xboard errors out on empty -firstChessProgram in xboard.conf
Message-ID:  <bug-263163-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263163

            Bug ID: 263163
           Summary: games/xboard: with default of no engine installed,
                    xboard errors out on empty -firstChessProgram in
                    xboard.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pauamma@gundo.com
                CC: mbeis@xs4all.nl
             Flags: maintainer-feedback?(mbeis@xs4all.nl)
                CC: mbeis@xs4all.nl

The immediate cause seems to be in Makefile target post-patch, which includ=
es:

        @firstEngine=3D`cat ${WRKSRC}/firstEngine.txt` && \
         ${REINPLACE_CMD} -e "s|\(-firstChessProgram\) .*|\1 $${firstEngine=
}|"
${XBOARDCONF}

"OPTIONS_DEFAULT?=3D       XAW" doesn't include any engine, which leaves th=
at
line empty instead of the upstream setting "-firstChessProgram fairymax".

I'm not sure whether the best fix is to make it depend on one engine by def=
ault
or to have a pkg-message saying "install one manually and adjust xboard.con=
f to
match", but I'm leaning toward the former since that's what upstream does.

Reported in #freebsd-bugs.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263163-7788>