Commit graph

48 commits

Author SHA1 Message Date
xtraeme
b8947ef00d Don't try to link to -liconv in the install process, it fixes build in
FreeBSD. Closes my own PR pkg/22346.
2003-09-16 13:57:18 +00:00
seb
4167694355 NetBSD/sparc64 1.6.1_STABLE's f771 -at least- leaves a nice coredump
in directory conftest during configire run.
So then 'rmdir conftest' fails, then all 'cc -o conftest ...' tests fail,
then ...

So clean up a bit before rmdir'ing conftest hence fix compilation
on said platform.
2003-09-12 13:52:02 +00:00
seb
529e68e4f1 NetBSD-current provide iconv(3) functionality in libc not
libiconv. Some packages insist on adding '-liconv' during link
or assumes the existent of it with they found iconv.h.

BUILDLINK_TRANSFORM can handle that.
Put it in in libiconv/buildlink2.mk for systematic coverage and
remove it from package "Makefile".

BTW this fix the build of chat/centericq - and probably others - on
-current.

Okayed by jlam@.
2003-09-02 18:20:33 +00:00
jmc
dfa0d698ad Export proper link flags to LDFLAGS based on overall config (i.e. whether
libiconv exists/is needed and whether to link it in). This means packages
can avoid hardcoding LDFLAGS+=-liconv and breaking on -current.
Fixes gnomeicu for -current and 1.6.x
2003-08-18 03:37:47 +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
jlam
342ad4c6f6 Back out previous change and institute another fix for the reported
problem.  The symptoms appear to match the situation where a library exists
in /usr/lib that matches the name of the pkgsrc-installed library, but the
corresponding .la file doesn't exist in /usr/lib.  Fix this by using
building a fake libtool archive if we use the system library.
2003-06-29 19:43:58 +00:00
wiz
7bf4c1f7ad Check for existence of /usr/lib/libiconv.so too, not only for the header
file. Needed for some broken (Linux) installs.
From Sebastian P. on tech-pkg.
2003-06-29 11:19:09 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
jlam
1eb8468c15 Add a check for /usr/lib/libiconv.* in the case where /usr/include/iconv.h
exists.  Use this check to appropriately assign a value to a new public
variable BUILDLINK_LIBICONV_LDADD that contains the linker options needed
so that the iconv functions resolve correctly.
2003-03-07 05:58:31 +00:00
grant
4d09de3d61 ensure we always install charset.alias and tidy PLIST handling,
improves portability.
2003-02-28 22:15:29 +00:00
wiz
16f56a4b00 Fix test target: do not use csh syntax (|&). Closes PR 19647. 2003-01-03 12:32:59 +00:00
grant
54e690e8f0 don't unnecessarily pass -p to `cp', it causes a fatal error on Darwin
while trying to chown a symlink.
2002-11-26 00:51:02 +00:00
agc
08b342525f At present, gmake has libiconv as a requirement, yet libiconv needs
gmake to build.  Remove the USE_GMAKE for just now - it seems
superfluous, since NetBSD's make(1) works fine, and is causing a
circular dependency.
2002-10-29 14:36:55 +00:00
wiz
5300b56849 Unused. 2002-10-09 17:41:29 +00:00
wiz
80ee491886 Since the major of libiconv was increased during the update to 1.8,
bump dependency to latest libiconv version; recursively also bump all
dependencies of packages depending on libiconv.
Requested by fredb.
2002-09-10 16:06:32 +00:00
tron
d5e2bf0f0a Rejoin NetBSD and Solaris package lists which fixes package list problems
under Solaris.
2002-09-01 20:24:17 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
wiz
ddf436e92a Update to 1.8.
Changes since 1.7:
* The iconv program has new options -l, -c, -s.
* The iconv program is internationalized.
* Added C99 converter.
* Added KOI8-T converter.
* New configuration option --enable-extra-encodings that enables a bunch of
  additional encodings; see the README for details.
* Updated the ISO-8859-16 converter.
* Upgraded BIG5-HKSCS, EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to
  Unicode 3.2.
* Upgraded EUC-KR, CP949, JOHAB converters to include the Euro sign.
* Changed the ARMSCII-8 converter.
* Extended the EUC-JP encoder so that YEN SIGN characters don't cause failures
  in Shift_JIS to EUC-JP conversion.
* The JAVA converter now handles characters outside the Unicode BMP correctly.
* Fixed a bug in the CP1255, CP1258, TCVN decoders: The base characters of
  combining characters could be dropped at the end of the conversion buffer.
* Fixed a bug in the transliteration that could lead to excessive memory
  allocations in libintl when transliteration was needed.
* Portability to BSD/OS and SCO 3.2.5.
2002-08-20 11:52:10 +00:00
jlam
d88554c247 Create new variables INCOMPAT_ZLIB, INCOMPAT_BZIP2, INCOMPAT_READLINE,
INCOMPAT_GETTEXT that are analogous to INCOMPAT_ICONV and contain lists of
shell wildcards intended to match against ${MACHINE_PLATFORM}.  These
variables are used to note those platforms that have the named packages in
the base system but are incompatible in some way from the pkgsrc version
of the same package.  Change INCOMPAT_CURSES to have the same sematics as
above.  These variables allow much greater precision in specifying which
platforms have broken (for the purposes of pkgsrc) versions of software in
the base system that must be ignored.

The buildlink.mk files for these packages define private _INCOMPAT_*
versions of these variables, and they contain the default lists of
platforms that are known to have incompatible software bits.

This addresses pkg/17775 submitted by Julien T. Letessier
<julien.letessier at sun dot com>.
2002-08-07 06:10:32 +00:00
jlam
3fefb9145b Allow system libiconv to be used if it's provided. If USE_GNU_ICONV is
defined, then we always use the pkgsrc libiconv.  INCOMPAT_ICONV can be
appended to with machine platform style entries, e.g. NetBSD-*-*, to note
when a system libiconv can't be used.  We currently default to needing
pkgsrc libiconv on NetBSD only.  This should fix pkg/17500.
2002-08-05 21:26:04 +00:00
grant
3a2577e59e update MASTER_SITES to use MASTER_SITE_GNU. 2002-07-12 06:37:14 +00:00
wiz
bd42d28342 Add some more charsets to the alias file (see previous revision).
Fixes e.g. the second gtk2 demo in the gtk2 tutorial on the web.
Patch from libiconv CVS via Owen Tayler.

Bump to 1.7nb2, and depend on it in buildlink.mk.
2002-05-14 15:57:55 +00:00
wiz
9b8b61fe50 Fix charset.alias file, the same as it is in the current glib2 distribution
and as it will be in the next release of libiconv.
This should fix the pango build failures on -current.
Tracked down by Owen Taylor.

Bump version to 1.7nb1, and bump buildlink dependency, too.
2002-05-10 12:16:41 +00:00
dmcmahill
f25a793c05 add test target to run self-tests (assists verification on various platforms) 2002-04-24 02:56:15 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
drochner
a59bbaa406 update to 1.7
changes:
* Added UTF-32, UTF-32BE, UTF-32LE converters.
* Changed CP1255, CP1258 and TCVN converters to handle combining characters.
* Changed EUC-JP, SHIFT-JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1
  converters to use fullwidth Yen sign instead of halfwidth Yen sign, and
  fullwidth tilde instead of halfwidth tilde.
* Upgraded EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to Unicode 3.1.
* Changed the GB18030 converter to not reject unassigned and private-use
  Unicode characters.
* Fixed a bug in the byte order mark treatment of the UCS-4 decoder.
* The manual pages are now distributed also in HTML format.
2001-10-30 17:41:19 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
tron
73df912883 Fix build problems caused by buildlink conversions. This error code have
been avoided if this modifications would have been tested before
committing them.
2001-07-22 13:26:46 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
ec8a22e48b Mark as USE_BUILDLINK_ONLY. 2001-06-20 07:28:09 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
jlam
321e922031 Add buildlink.mk files that can link headers and libraries into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, for use by other packages
during build.
2001-05-26 08:10:42 +00:00
rh
89dae3abad Update libiconv to 1.6.1. Notable changes include:
* Bugfixes
  * The iconv program's -f and -t options are now optional.
  * Many more transliterations.
  * Added CP862 converter.
  * Changed the GB18030 converter.
  * Portability to DOS with DJGPP.
2001-05-14 12:14:47 +00:00
agc
35da692f5d Move to sha1 digests, and add distfile sizes. 2001-04-18 16:28:00 +00:00
agc
268ad0352c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:33:37 +00:00
tron
6078464b2d Add seperate package list for SunOS. 2001-03-21 15:54:27 +00:00
wiz
07cd20b334 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:51:27 +00:00
tron
499701b122 Add seperate package list for SunOS. 2001-02-12 19:24:39 +00:00
rh
f86989dad4 Make this build without root permissions. Fixes Luke's PR 11893. 2001-01-11 10:56:33 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
01f9d8d7f2 Initial import of libiconv-1.5, a character conversion library. 2001-01-01 17:29:20 +00:00