From 9ee0573ef146ab37d7b85951f83e00bcbd305ff3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 24 Feb 2018 14:38:23 -0500 Subject: [PATCH] Add current directory to Perl include path Recent Perl versions don't have the current directory in the module include path anymore, so we need to add it here explicitly to make these scripts continue to work. --- src/backend/utils/mb/Unicode/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/backend/utils/mb/Unicode/Makefile b/src/backend/utils/mb/Unicode/Makefile index 06e22de9502..00a6256b66f 100644 --- a/src/backend/utils/mb/Unicode/Makefile +++ b/src/backend/utils/mb/Unicode/Makefile @@ -73,40 +73,40 @@ GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \ all: $(MAPS) $(GENERICMAPS): UCS_to_most.pl $(GENERICTEXTS) - $(PERL) $< + $(PERL) -I $(srcdir) $< johab_to_utf8.map utf8_to_johab.map: UCS_to_JOHAB.pl JOHAB.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< uhc_to_utf8.map utf8_to_uhc.map: UCS_to_UHC.pl windows-949-2000.xml - $(PERL) $< + $(PERL) -I $(srcdir) $< euc_jp_to_utf8.map utf8_to_euc_jp.map: UCS_to_EUC_JP.pl CP932.TXT JIS0212.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< euc_cn_to_utf8.map utf8_to_euc_cn.map: UCS_to_EUC_CN.pl gb-18030-2000.xml - $(PERL) $< + $(PERL) -I $(srcdir) $< euc_kr_to_utf8.map utf8_to_euc_kr.map: UCS_to_EUC_KR.pl KSX1001.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< euc_tw_to_utf8.map utf8_to_euc_tw.map: UCS_to_EUC_TW.pl CNS11643.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< sjis_to_utf8.map utf8_to_sjis.map: UCS_to_SJIS.pl CP932.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< gb18030_to_utf8.map utf8_to_gb18030.map: UCS_to_GB18030.pl gb-18030-2000.xml - $(PERL) $< + $(PERL) -I $(srcdir) $< big5_to_utf8.map utf8_to_big5.map: UCS_to_BIG5.pl BIG5.TXT CP950.TXT - $(PERL) $< + $(PERL) -I $(srcdir) $< euc_jis_2004_to_utf8.map utf8_to_euc_jis_2004.map: UCS_to_EUC_JIS_2004.pl euc-jis-2004-std.txt - $(PERL) $< + $(PERL) -I $(srcdir) $< shift_jis_2004_to_utf8.map utf8_to_shift_jis_2004.map: UCS_to_SHIFT_JIS_2004.pl sjis-0213-2004-std.txt - $(PERL) $< + $(PERL) -I $(srcdir) $< distclean: clean rm -f $(TEXTS)