Commit graph

161 commits

Author SHA1 Message Date
rillig
508923f461 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:13 +00:00
rillig
72c440a8cd converters/libiconv: allow to skip --with-libiconv-prefix
There are several GNU configure scripts that don't support this option.
These packages can be found by setting GNU_CONFIGURE_STRICT=yes in
mk.conf. To allow these packages to build nevertheless, packages have to
skip this option explicitly, for backwards compatibility.
2020-01-13 17:35:05 +00:00
rillig
b5524ea599 converters: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:14:24 +00:00
rillig
a63ba34f00 converters/libiconv: disable GNU_CONFIGURE_STRICT check
The check would report many unknown options. This is only because
libiconv has several configure scripts, and in the end, all given options
are necessary.
2019-05-04 15:32:32 +00:00
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
joerg
4d00e24682 GC options.mk, not used since the last update years ago. Add SHA512
checksum.
2017-03-23 13:49:56 +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
schmonz
cc8d93c052 Fix previous for OS X 10.9 with clang (and maybe other non-glibc systems). 2014-01-01 15:50:01 +00:00
ryoon
0aa5a923a6 Fix build on Linux with glibc>=2.16, for example, Fedora 22. 2013-12-31 10:14:14 +00:00
wiz
d33dfdeb7c Reset maintainer for resigned developers. 2013-12-23 11:57:02 +00:00
obache
c28b1c803f Use find-headers instead of find-files to detect builtin header files. 2013-11-23 10:51:09 +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
wiz
e51d9bafa6 Remove "--without-libiconv-prefix", almost no configure script recognizes it. 2011-01-16 11:16:28 +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
shattered
d20bfc0483 s/LIBEXIF_HACKS_MK/LIBICONV_HACKS_MK/ 2010-11-05 16:43:55 +00:00
obache
fa283f42c7 tell iconv.h for Haiku. 2010-08-30 02:04:58 +00:00
obache
69244f3904 Treat Haiku like BeOS. 2010-01-30 10:24:29 +00:00
tron
43396069f3 Use "libtool" rules similar to those in version 1.13.1 of "libiconv"
to build "preloadable_libiconv.so". This should fix the build
under Linux, OSF1 and Solaris with any supported compiler.
2010-01-06 21:01:09 +00:00
tron
94d1b34324 Fix the part of the makefile that builds "preloadable_libiconv.so" under
Solaris if GCC is used. As this bit is both operating system and compiler
specific we can simple bypass "libtool" which is what must have happened
with the old "libtool".

The build in the non-GCC case or under Linux respectively OSF1 might
still be broken. But I don't have a setup to test that.
2010-01-06 18:53:05 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +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
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +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
jlam
1ba751eba2 Greatly simplify the logic that tries to determine whether -lintl
needs -liconv in order to satisfy linkage requirements.  This is now
patterned after the approach taken with readline and termlib.

Examples on NetBSD for a package that includes only
gettext-lib/buildlink3.mk:

PREFER_NATIVE=	yes
PREFER_PKGSRC=	# empty
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	iconv
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	gettext
# This uses the pkgsrc gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	gettext iconv
# This uses the pkgsrc gettext and pkgsrc iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl -liconv"

PREFER_NATIVE=	# empty
PREFER_PKGSRC=	yes
# This uses the pkgsrc gettext and pkgsrc iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl -liconv"

PREFER_NATIVE=	iconv
PREFER_PKGSRC=	yes
# This uses the pkgsrc gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	gettext
PREFER_PKGSRC=	yes
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	gettext iconv
PREFER_PKGSRC=	yes
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"
2008-02-27 22:10:34 +00:00
jlam
3b4358fe5a Whitespace. 2008-02-27 19:32:55 +00:00
joerg
61588cbab1 Regen. 2008-01-13 09:31:11 +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
sketch
203c85cd03 Remove the preprocessor test for 'long long int', it fails with SunPro
causing later compile-time tests to break.  Taken from gnulib change
in http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
2008-01-08 22:08:36 +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
minskim
a054bca239 Fix version detection when the version number contains capital letters. 2007-11-07 17:24:28 +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
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +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
tnn
2feda77560 Add custom PLIST for OSF1, due to libiconv installing a preloadable_libiconv.so
like it does on SunOS.
2007-04-11 19:29:17 +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
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +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
schwarz
f6e26041a5 added a hack to work around the conflict of sys/types.h and inttypes.h on
IRIX 5.3.
2006-04-14 21:13:10 +00:00