From 60bc65ec61f2145e40ecc70dd1c154e200b041d5 Mon Sep 17 00:00:00 2001 From: Andrej Zverev Date: Sat, 20 Sep 2014 06:38:37 +0000 Subject: [PATCH] fix build with perl 5.18 PR: 193064 --- japanese/kcode/Makefile | 2 +- japanese/kcode/files/patch-kcode | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 japanese/kcode/files/patch-kcode diff --git a/japanese/kcode/Makefile b/japanese/kcode/Makefile index 3ed94763574b..1b204265b9ef 100644 --- a/japanese/kcode/Makefile +++ b/japanese/kcode/Makefile @@ -25,10 +25,10 @@ RUN_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode do-extract: ${MKDIR} ${WRKSRC} ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > ${WRKSRC}/kcode - pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/kcode ${STAGEDIR}${PREFIX}/bin + pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1 ${INSTALL_MAN} ${WRKSRC}/kcode.1 ${STAGEDIR}${MANPREFIX}/man/ja/man1 .include diff --git a/japanese/kcode/files/patch-kcode b/japanese/kcode/files/patch-kcode new file mode 100644 index 000000000000..a5ea70602375 --- /dev/null +++ b/japanese/kcode/files/patch-kcode @@ -0,0 +1,10 @@ +--- ./kcode.orig 2014-09-20 02:00:07.356860273 +0400 ++++ ./kcode 2014-09-20 02:00:18.458870406 +0400 +@@ -5,6 +5,7 @@ + # Copyright (c) 2004 HIROSE, Masaaki. All rights reserved. + # + ++=encoding utf8 + =head1 NAME + + B - 各種文字コードを表示する