Received: by mail.netbsd.org (Postfix, from userid 605) id F0891850AE; Sun, 28 Jun 2020 02:33:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 77C5A850AD for ; Sun, 28 Jun 2020 02:33:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id sqt4Ot7Yb-Gi for ; Sun, 28 Jun 2020 02:33:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C9776850AC for ; Sun, 28 Jun 2020 02:33:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B808FFB28; Sun, 28 Jun 2020 02:33:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1593311585234870" MIME-Version: 1.0 Date: Sun, 28 Jun 2020 02:33:05 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/audio/open_jtalk To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20200628023305.B808FFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1593311585234870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1593311585234870 Content-Disposition: inline Content-Length: 878 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1593311585234870--