head 1.4; access; symbols pkgsrc-2026Q2:1.3.0.20 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.18 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.16 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.14 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.12 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.10 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.8 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.6 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.4 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2026.06.23.10.05.27; author wiz; state dead; branches; next 1.3; commitid xNHpv6ym4uH8kUKG; 1.3 date 2024.01.26.03.15.50; author riastradh; state Exp; branches; next 1.2; commitid YGM9TCkY2AbojUVE; 1.2 date 2013.11.13.19.44.03; author wiz; state dead; branches; next 1.1; commitid 0crAPtTs4APWx9dx; 1.1 date 2013.05.10.05.27.39; author riastradh; state Exp; branches; next ; desc @@ 1.4 log @enca: update to 1.22. enca-1.22 - Fix for failures due to non-portable modern-bashism. - Add missing Finnish files to Makefile.am. - Fix autoreconf with >= gettext-0.24. * Update URLs to latest in README.md. enca-1.21 + Add support for Finnish language with CP1267 charset. + Added -without-librecode to configure script - Fixed --with-libiconv and --without-libiconv options - Removed old travis ci link from readme. - Update source path in enca.spec.in - Fixed language tools build warnings and error. enca-1.20 - fix crosscompilation issues - fix documentation build - fix compiler warnings - fix librecode detection - fix normalize.py input format + with --disable-gtk-doc docs are not installed + add support for testing on MSYS2 MINGW - fixed normalize.pl input format. + add usage help to normalize.pl and countall enca-1.19 2016-09-05 - fix possible memory leak - make utf-8 detection work even on one character enca-1.18 2016-01-07 - fix installation of devhelp documentation enca-1.17 2016-01-04 - Fixed conversion of GB2312 encoding with iconv - Fixed iconv conversion on OSX - Documentation improvements - Fixed execution of external converters with ACLs - Improved test coverage to 80% enca-1.16 2014-10-20 - Fixed typo in Belarusian language name - Added aliases for Chinese and Yugoslavian languages @ text @$NetBSD: patch-tools_Makefile.am,v 1.3 2024/01/26 03:15:50 riastradh Exp $ Fix cross-build. --- tools/Makefile.am.orig 2013-09-30 07:48:22.000000000 +0000 +++ tools/Makefile.am @@@@ -30,8 +30,13 @@@@ all: encodings.h encodings.sed: $(top_builddir)/iconvenc.h sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@@\1@@ \2/' -e 's/"//g' -e 's/NULL$$//' -e 's/ /\//' -e 's/^\(.*\)$$/s\/\1\//' $(top_builddir)/iconvenc.h >encodings.sed -encodings.h: encodings.sed $(srcdir)/encodings.dat make_hash - sed -f encodings.sed $(srcdir)/encodings.dat | ./make_hash >encodings.h +tool_make_hash: tool_make_hash.o + $(CC_FOR_BUILD) -o $@@ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) tool_make_hash.o +tool_make_hash.o: make_hash.c + $(CC_FOR_BUILD) -o $@@ $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c make_hash.c + +encodings.h: encodings.sed $(srcdir)/encodings.dat tool_make_hash + sed -f encodings.sed $(srcdir)/encodings.dat | ./tool_make_hash >encodings.h # Normally there's no need to regenerate tables, they are copy-and-pasted # into the C source manually, but the rules are here. Run `make tables' @ 1.3 log @textproc/enca: Fix cross-build. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.15: enca-1.15 2013-09-30 - Documentation improvement - Development moved to GitHub - Do not use deprecated autoconf macros @ text @d1 1 a1 1 $NetBSD: patch-tools_Makefile.am,v 1.1 2013/05/10 05:27:39 riastradh Exp $ d3 1 a3 1 Use CC_FOR_BUILD to compile make_hash. d5 1 a5 1 --- tools/Makefile.am.orig 2009-08-25 08:33:34.000000000 +0000 d7 1 a7 20 @@@@ -3,7 +3,9 @@@@ noinst_PROGRAMS = make_hash noinst_HEADERS = encodings.h noinst_SCRIPTS = expand_table.pl -make_hash_SOURCES = make_hash.c +CLEANFILES = make_hash$(EXEEXT) +make_hash$(EXEEXT): make_hash.c + $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@@ $(srcdir)/make_hash.c BUILT_SOURCES = $(noinst_HEADERS) @@@@ -23,15 +25,15 @@@@ TABLE_SRC = \ TEX_SKIP.t \ encodings.dat -EXTRA_DIST = $(TABLE_SRC) $(noinst_SCRIPTS) iconvenc.null +EXTRA_DIST = $(TABLE_SRC) $(noinst_SCRIPTS) iconvenc.null make_hash.c all: encodings.h d13 7 a19 2 +encodings.h: encodings.sed $(srcdir)/encodings.dat make_hash$(EXEEXT) + sed -f encodings.sed $(srcdir)/encodings.dat | ./make_hash$(EXEEXT) >encodings.h @ 1.1 log @Fix cross-build of textproc/enca: use CC_FOR_BUILD and avoid run-tests. @ text @d1 1 a1 1 $NetBSD$ @