Commit graph

66 commits

Author SHA1 Message Date
jperkin
62e27dac9d Explicitly override iconv checks on SunOS, as GNU libiconv will change its
own signature based on whether it finds itself already installed somewhere,
which then breaks software (e.g. QT) which assumes its native signature.

Restricted to SunOS for now as that's where it has been tested with positive
results, but likely will be useful everywhere.

Bump PKGREVISION.
2017-03-30 12:40:31 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
d48ab4092e Ensure 'cd dir && make' rules are executed in a sub-shell, allowing us to
remove MAKE_JOBS_SAFE=no.  We can't depend on gmake due to circular
dependencies.
2014-09-02 10:07:23 +00:00
wiz
d33dfdeb7c Reset maintainer for resigned developers. 2013-12-23 11:57:02 +00:00
asau
46402b95a7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 00:20:09 +00:00
wiz
4326abf388 Add CONFLICTS with new man-pages package. For details, see
man-pages/Makefile.
2012-05-12 07:37:50 +00:00
bsiegert
d434111da0 Revert recent commit, add a (hopefully) correct patch instead. Bump rev.
In the Makefile.in, libcharset is copied with pax into lib/ along with
its object files. This overwrites relocatable.lo from libiconv, which
is then relinked against the wrong object. Use "libtool --mode=install cp"
instead to only copy the library.

Should hopefully fix PR pkg/45341.
2011-09-08 16:29:48 +00:00
bsiegert
e2d56eceac Link libiconv.la against libcharset.la to fix the build on MirBSD.
Bump PKGREVISION.

Patch was first sent to tech-pkg, no one objected.
2011-09-06 18:51:14 +00:00
wiz
657f8400b4 Update to 1.14; disable cp932 option for now, no patch available yet.
New in 1.14:
* The 'iconv' program now produces its output as soon as it can. It no longer
  unnecessarily waits for more input.
* Updated the GB18030 converter to map 25 characters to code points that have
  been to Unicode since 2000, rather than to code points in the Private Use
  Area.
* Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to
  BIG5-HKSCS:2004. A new converter BIG5-HKSCS:2008 is added. BIG5-HKSCS is now
  an alias for BIG5-HKSCS:2008.
* Fixed a bug in the conversion to wchar_t.
* Fixed a small bug in the CP1258 converter.
2011-08-22 14:03:36 +00:00
adam
fb0181fbec Changes 1.13.1:
* The library and the iconv program now understand platform dependent aliases,
  for better compatibility with the platform's own iconv_open function.
  Examples: "646" on Solaris, "iso88591" on HP-UX, "IBM-1252" on AIX.
* For stateful encodings, when the input ends with a shift sequence followed
  by invalid input, the iconv function now increments the input pointer past
  the shift sequence before returning (size_t)(-1) with errno = EILSEQ. This
  is also like GNU libc's iconv() behaves.
* The library exports a new function iconv_open_into() that stores the
  conversion descriptor in pre-allocated memory, rather than allocating fresh
  memory for it.
* Added CP1131 converter.
2010-11-10 21:00:49 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
22969025d4 Keep locale_alias symbol and don't hide it when visibility support
exists and libiconv is compiled. This restores symmetry between
libiconv.so, libiconv.a and libintl and fixes the build of gettext-tools
on Linux. Bump revision.
2008-01-13 09:30:57 +00:00
wiz
a53396f3de Update to 1.12:
New in libiconv-1.12-cp932.patch:
* Changed CP932 converter to use exact mapping table.
* Added WINDOWS-31J, csWINDOWS31J, SJIS-OPEN, SJIS-WIN as aliases for CP932.
* Added EUCJP-MS converter.
* Added EUC-JP-MS, EUCJP-OPEN, EUCJP-WIN as aliases for EUCJP-MS.

New in 1.12:
* The iconv program is now licensed under the GPL version 3, instead of the
  GPL version 2. The libiconv library continues to be licensed under LGPL.
* Added RK1048 converter.
* On AIX, an existing system libiconv no longer causes setlocale() to fail.
* Upgraded EUC-KR, JOHAB to include the Korean postal code sign.
2007-11-29 17:05:34 +00:00
taca
44935f5404 Add cp932-patch which was ja-patch as PKG_OPTION and enabled default.
Bump PKGREVISION.
2007-10-28 02:07:41 +00:00
schmonz
b267578d80 Don't require c99 in USE_LANGUAGES. libiconv builds fine with gcc
2.95.4 on FreeBSD 4.11 without it; with it, pkgsrc wants gcc3-c,
which results in a circular dependency.

The addition of c99 to USE_LANGUAGES appears to have been intended
to benefit IRIX with MIPSPro, so also restore the old behavior of
appending "-c99" to CFLAGS in that case.
2007-06-02 06:56:06 +00:00
tnn
94e884b989 Merge platform-specific PLISTs. Suggested by <joerg> 2007-04-12 10:27:15 +00:00
wiz
6eaa530983 Update to 1.11:
New in 1.11:
* The iconv program has new options --unicode-subst, --byte-subst,
  --widechar-subst that allow to specify substitutions for characters that
  cannot be converted.
* The iconv program now understands long options:
    long option    equivalent to
    --from-code    -f
    --to-code      -t
    --list         -l
    --silent       -s
* The CP936 converter is now different from the GBK converter: it has changed
  to include the Euro sign and private area characters. CP936 is no longer an
  alias of GBK.
* Updated GB18030 converter to include all private area characters.
* Updated CP950 converter to include the Euro sign and private area characters.
* Updated CP949 converter to include private area characters.
* Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to
  BIG5-HKSCS:1999 and updated to Unicode 4. New converters BIG5-HKSCS:2001 and
  BIG5-HKSCS:2004 are added. BIG5-HKSCS is now an alias for BIG5-HKSCS:2004.
* Added a few irreversible mappings to the CP932 converter.
* Tidy up the list of symbols exported from libiconv (assumes gcc >= 4.0).
2007-03-20 00:44:52 +00:00
rillig
fc99a64e14 This package is not MAKE_JOBS_SAFE. 2007-01-30 11:27:44 +00:00
cbiere
e2c55a18b0 Added c++ to USE_LANGUAGES because configure (unnecessarily) looks for
a working C++ preprocessor and the build breaks if there's a non-working
CC in PATH otherwise.
2006-12-03 11:20:12 +00:00
jschauma
721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00
joerg
d19f5ff58f DESTDIR support. Use modular Xorg for wv.
XXX Remove pre-install in libiconv?
2006-11-14 13:55:34 +00:00
jlam
536c7f63b3 Explicitly disable NLS. This should fix PLIST problems on Linux,
where glibc has its own gettext functions and the configure script
was picking it up and as a result the install process copied a lot of
*.mo files into ${PREFIX}.
2006-06-08 03:56:21 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
taca
70126d8847 Update libiconv-1.10-cp932.patch to libiconv-1.10-ja-1.patch,
approved by wiz.

Bump PKGREVISION.

 New in libiconv-1.10-ja.patch:

 * Changed EUC-JP, SHIFT_JIS, ISO-2022-JP, ISO-2022-JP-1, ISO-2022-JP-2,
   ISO-2022-JP-3, DEC-KANJI converters, so that JIS X 0208 1-29(0x815C )EM DASH
   is converted into U+2014 EM DASH instead of U+2015 HORIZONTAL BAR.
 * Changed SHIFT_JIS, SHIFT_JISX0213, ISO-2022-JP, ISO-2022-JP-1, ISO-2022-JP-2,
   ISO-2022-JP-3 converters, so that JIS X 0201 5/12(0x5C) YEN SIGN is
   converted into U+005C REVERSE SOLIDUS instead of U+00A5 YEN SIGN and
   JIS X 0201 7/14(0x7E) OVER LINE is converted into U+007E TILDE instead of
   U+203E OVER LINE.
 * Changed EUC-JP, SHIFT_JIS converters to exclude UDC mappings.
 * Added Shift_JIS-MS, SJIS-MS,
   MS932 as aliases for CP932.
 * Added CP51932 converter.
 * Added ISO-2022-JP-MS converter.
 * Added CP50221 as aliases for ISO-2022-JP-MS.

 New in libiconv-1.10-ja-1.patch:

* Fixed output JIS X 0201 kata-kana character as raw 8bit when converted to
  iso-2022-jp-ms.
* Fixed check tests/SHIFT_JISX0213.TXT
* Add WINDOWS-932 as alias of CP932.
* Add WINDOWS-51932 and MS51932 as alias of CP51932.
* Add WINDOWS-50221 and MS50221 as alias of ISO-2022-JP-MS.
* Add eucjpms (from MySQL) as alias of eucJP-ms.
* Introduce CHARSET_ALIAS environment variable support.
  Example)
    with /bin/sh:

      $ CHARSET_ALIAS="Shift_JIS=WINDOWS-932:EUC-JP=EUC-JP-MS:ISO-2022-JP=ISO-2022-JP-MS"
      $ export CHARSET_ALIAS
2005-10-02 06:09:47 +00:00
jschauma
ac598142d5 add -c99 to CFLAGS for IRIX' MIPSPro compilers. 2005-09-27 01:41:18 +00:00
adam
88fd0d0c78 Added cp932 patch; closing PR-31142 2005-09-12 13:41:31 +00:00
jlam
ea0d048172 Put the charset.alias file into place using REQD_FILES instead of
CONF_FILES since we need it to always be present for libiconv to
function properly.  It's now no longer removed automatically at
deinstallation if it differs from the stock charset.alias file, meaning
it's now preserved in case the user made modifications to the file;
however a warning will be output that the file can be safely removed
if you don't need it anymore.  Bump the PKGREVISION to 1.
2005-08-19 22:26:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
adam
c7919dce64 Changes 1.10:
* Added ISO-8859-11 converter.
* Updated the ISO-8859-7 converter.
* Added ATARIST converter, available through --enable-extra-encodings.
* Added BIG5-2003 converter (experimental), available through
  --enable-extra-encodings.
* Updated EUC-TW converter to include the Euro sign.
* The preloadable library has been renamed from libiconv_plug.so to
  preloadable_libiconv.so.
* Portability to mingw.
2005-07-28 15:15:17 +00:00
jlam
bb7c443e62 Don't set artificial restrictions on which platforms can build this
package.  Linux, like NetBSD, should be able to build this package,
even if it has a built-in iconv implementation.
2005-05-24 04:36:51 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
d8f810b26b Revision bump 2004-11-24 11:15:30 +00:00
adam
c228b99461 Added a patch for japanese support (PR/25845) 2004-11-24 09:34:11 +00:00
adam
2cc9d83272 Changes 1.9.2:
* Bug fixes
2004-11-23 12:38:00 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
reed
1f835283b3 Move including the ../../mk/bsd.prefs.mk and checking for Linux
to after GNU_CONFIGURE and USE_LIBTOOL being set.
This fixes the problem where the lt_cv_sys_max_cmd_len was not
added to the CONFIGURE_ENV.

Now that I think about it, I caused this problem when I added that
Linux check...
2004-08-31 19:24:42 +00:00
reed
631e46a396 Fail if this package is to be built under Linux. This is normal
for Linux. Most (all?) Linux distros don't provide a libiconv
package, because GLIBC's iconv support is good enough.

At this time, using PKG_FAIL_REASON instead of PKG_SKIP_REASON
so we can catch examples of packages depending on this.

The builtin.mk was improved to help stop it from being used under
Linux.

This was okayed by Rene Hexel, the maintainer.

Todo: fix abiword build because it should not require this libiconv
package under Linux.
2004-06-04 05:25:38 +00:00
tv
faaed608d9 nb2: use $(INSTALL), not $(INSTALL_DATA), for a library in an autoconfiscated
package.
2004-04-28 15:19:04 +00:00
jschauma
4c5fe4eef7 Apparently cp(1) under Irix does not like to overwrite symbolic links.
This causes the package to fail to install, as this section is executed
a second time.
Use pax instead and all's peachy.
2004-04-02 19:08:37 +00:00
snj
e26c9c6b59 Use ${CP} instead of cp. From Georg Schwarz in PR pkg/24634. 2004-03-02 05:01:38 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
2c03f435c8 bl3ify 2004-01-05 11:17:10 +00:00
jmmv
e794dd2538 Handle installation and removal of the charset.alias file properly in binary
packages, using SUPPORT_FILES from bsd.pkg.install.mk.  Bump PKGREVISION to 1.
2003-07-28 10:11:45 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
9a290ed0df Update to 1.9.1.
* Many more transliterations.
* New configuration option --enable-relocatable.
2003-07-13 13:32:29 +00:00
dillo
9d47c6ba38 use TEST_TARGET instead of custom test target 2003-07-12 13:13:46 +00:00