On 9/16/23 11:42, Stefan Hagen wrote:
I don't understand what you mean with the lines break in CONFIGURE_ENV.
This works for me:
Probably a typo I made when formatting then.
What about the comment above CONFIGURE_ENV?
Probably outdated.
It's very recent and seems to be the result of repeated attempts to
get it built on sparc64 - looping in sthen@ and kmos@ just in case...
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 17 Sep 2023 17:06:05 -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
@@ -28,8 +28,8 @@ AUTOMAKE_VERSION= 1.16
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}