On my amd64 systems espeak-ng does not produce audio output.
Interestingly it seems to have broken with the last commit:
https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/audio/espeak/Makefile?rev=1.27&content-type=text/x-cvsweb-markup
because when I add CPPFLAGS to CONFIGURE_ENV, it does actually
speak, but it seems to be somehow important, that there are no
line breaks in CONFIGURE_ENV.
i.e. with the below patch it produces audio output. Does that
make sense to anyone?
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/espeak/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile 1 Jun 2023 20:58:21 -0000 1.27
+++ Makefile 15 Sep 2023 20:35:15 -0000
@@ -4,7 +4,7 @@ GH_ACCOUNT= espeak-ng
GH_PROJECT= espeak-ng
GH_TAGNAME= 1.51
PKGNAME= ${DISTNAME:S/-ng//}
-REVISION= 1
+REVISION= 2
SHARED_LIBS += espeak-ng 0.0 # 2.51
@@ -29,8 +29,11 @@ AUTORECONF= ./autogen.sh
CONFIGURE_STYLE= autoreconf
# upstream is doing something odd and doesn't add LDFLAGS/CXXFLAGS if
CPPFLAGS is set
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CPPFLAGS="-I${LOCALBASE}/include"
DEBUG_PACKAGES= ${BUILD_PACKAGES}