pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/open_jtalk



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Jun 28 02:33:05 UTC 2020

Modified Files:
        pkgsrc/audio/open_jtalk: Makefile

Log Message:
open_jtalk: Fix build under NetBSD 9 or earlier


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/open_jtalk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/open_jtalk/Makefile
diff -u pkgsrc/audio/open_jtalk/Makefile:1.1 pkgsrc/audio/open_jtalk/Makefile:1.2
--- pkgsrc/audio/open_jtalk/Makefile:1.1        Tue Jun 16 13:35:05 2020
+++ pkgsrc/audio/open_jtalk/Makefile    Sun Jun 28 02:33:05 2020
@@ -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 @@ USE_LANGUAGES=       c c++
 
 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