Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/open_jtalk open_jtalk: Fix build under NetBSD 9 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d23faa8372
branches:  trunk
changeset: 434918:b0d23faa8372
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Jun 28 02:33:05 2020 +0000

description:
open_jtalk: Fix build under NetBSD 9 or earlier

diffstat:

 audio/open_jtalk/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r b352180338a5 -r b0d23faa8372 audio/open_jtalk/Makefile
--- a/audio/open_jtalk/Makefile Sat Jun 27 10:51:12 2020 +0000
+++ b/audio/open_jtalk/Makefile Sun Jun 28 02:33:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/06/16 13:35:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2020/06/28 02:33:05 ryoon Exp $
 
 DISTNAME=      open_jtalk-1.11
 CATEGORIES=    audio
@@ -14,6 +14,11 @@
 
 MAKE_ENV+=     dicdir=${PREFIX}/share/open_jtalk/dic
 
+.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-[0-9].[0-8]*-*)
+CFLAGS+=       -fpermissive # for iconv(3) and const char**
+.endif
+
 CONFIGURE_ARGS+=       --with-hts-engine-header-path=${BUILDLINK_DIR}/include
 CONFIGURE_ARGS+=       --with-hts-engine-library-path=${BUILDLINK_DIR}/lib
 CONFIGURE_ARGS+=       --with-charset=UTF-8



Home | Main Index | Thread Index | Old Index