fix build with perl 5.18

PR:		193064
This commit is contained in:
Andrej Zverev 2014-09-20 06:38:37 +00:00
parent ff975e3fba
commit 60bc65ec61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368620
2 changed files with 11 additions and 1 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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<kcode> - 各種文字コードを表示する