Commit graph

97 commits

Author SHA1 Message Date
adam
54466f1464 Changes 0.14.6:
* Updated the meaning of 'gcc-internal-format' to match GCC 4.1.
2006-07-26 06:53:02 +00:00
jlam
ee68c93314 LIBTOOL_OVERRIDE generally doesn't need to be specified anymore... just
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".

SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
2006-07-07 15:49:30 +00:00
jlam
0f4967eb59 Overhaul the way packages can ask for "msgfmt". If a package needs
msgfmt, then it should set the following in the package Makefile:

	USE_TOOLS+=	msgfmt

To deal with message files that use the "msgid_plural" statement,
which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we
determine if the built-in "msgfmt" is sufficiently new enough to
understand "msgid_plural".  If it isn't, then we use the msgfmt.sh
script to transform the msgid_plural statements to an equivalent
construct that's understood by older msgfmt tools.

The msgfmt.sh script is a straightforward translation of the original
perl script msgfmt.pl script by Julio M. Merino Vidal into shell and
awk, which are more lightweight dependencies than perl.

We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they
are made obsolete by the new code in mk/tools/msgfmt.mk.

BUILD_USE_MSGFMT is still supported but will be removed in a separate
commit.
2006-04-13 16:35:57 +00:00
jmmv
350bfb7e78 Skip blank lines after msgid so that "incorrectly formatted" po files do
not break when using this script.  This should avoid having to patch some
po files to "fix" them.
2006-04-06 21:42:23 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jschauma
71e29364a7 correct patches, which didn't cleanly apply. Pointed out by joerg@ and
darcy@
2006-02-21 20:04:03 +00:00
jschauma
352d5935d3 add patches regarding PR pkg/30940 to allow IRIX MIPSPro compilers,
when passed certain CFLAGS, to not barf.
2006-02-21 04:12:44 +00:00
joerg
3612e5130c Never allow configure to detect libexpat. Fixes PR 28032. 2006-02-20 14:04:45 +00:00
joerg
9345170372 Disable HAVE_WCTYPE_H on NetBSD before 2.0, since it doesn't have
the needed wctype_t and therefore the multibyte support can't work.
Tested by cato@
2006-02-14 22:31:42 +00:00
joerg
e7686df00a Use INSTALL_MAN and INSTALL_MAN_DIR as pointed out by salo@ 2006-02-12 16:37:30 +00:00
joerg
b91d7adf5d Follow-up fix for the last revision: PKGMANDIR is relative to PREFIX,
so PREFIX it accordingly.
2006-02-12 14:23:02 +00:00
joerg
253dec8a9f Remove localestatedir fragment, it gets handled properly automatically.
Fix pkglint warning for SHLIBTOOL.
2006-02-11 17:44:39 +00:00
joerg
5b7d87b6ec s/MANDIR/PKGMANDIR/ 2006-02-11 17:18:17 +00:00
joerg
c53741bc22 Update gettext to 0.14.5. Many bugfixes and improvements,
including support for relocable programs, Qt support,
separation of the PO processing functions into a separate
library and more.

Reorganise the gettext infrastructure by splitting of the
tools into devel/gettext-tools, which will be used by the tools
framework. The remaining devel/gettext package contains
gettextize and autopoint aka the infrastructure to embbed gettext
into a package.

Due to the ABI and API changes, a recursive revision bump will
follow.

Take blaim by receiving the maintainer hat.

With input from jlam@, reed@ and wiz@.
2006-02-05 22:45:53 +00:00
joerg
1b4ae0895b Needs broken gettext detection. 2006-01-06 13:02:00 +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
jmmv
5774296b7a Fix the msgfmt.pl script to deal with messages with plurals whose strings
are identical (e.g., msgid == msgid_plural) by ignoring the duplicates.
In fact, this is a rewrite of the script, since I couldn't understand the
old one (ew).

Also change the way we use it to only pull it in the build if the real
msgfmt does not support plurals (i.e., it's older than 0.10.36).

Fixes PR pkg/30596 and PR pkg/30938 (both related to epiphany).
It also fixes the build of evolution-data-server and probably others.
2005-08-20 12:04:09 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
gavan
9dbe579ad7 Workaround build problem on Solaris 10.
If HAVE_POSIX_SPAWN is defined, code is compiled in that requires environ
to be declared. Solaris doesn't declare environ, so declare it (guarded by
HAVE_ENVIRON_DECL) in the files in which it is used.

Solaris 10 systems HAVE_POSIX_SPAWN, whereas previous versions do not.
2004-10-13 17:14:36 +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
tv
f86f146969 This bends over backwards to remove the .a file, so how about not compiling
it at all to do it the right way....  Add SHLIBTOOL_OVERRIDE.
2004-09-30 13:29:15 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
tv
2511306c89 Use USE_BUILTIN.gettext=no instead. I'm not bothering with PKGREVISION this
time as it's obvious this doesn't change a thing for systems where compiling
actually succeeded.
2004-04-20 13:36:47 +00:00
tv
dfce9713aa Technically, this should not have needed a PKGREVISION bump for the
USE_GNU_GETTEXT fix:  afflicted systems couldn't compile gettext at all.

But, to be pedantic and fix possible unforeseen problems on systems where
the previous version *was* successfully compiling, bump PKGREVISION anyway.
2004-04-19 17:06:07 +00:00
tv
b367d661ec Set USE_GNU_GETTEXT. Without that, this package doesn't pull in gettext-lib
and its buildlink goop (required here!) on systems where the native libintl
is typically "good enough" per bl3.
2004-04-19 14:52:26 +00:00
jmmv
cf490c2b62 Add a script to workaround uses of msgid_plural, which is not yet supported
by our native libintl.  While it is not implemented, this allows us to build
programs against the native libintl, loosing very few functionality (some
translations of plural messages on few languages), and avoiding runtime
conflicts between native libintl and the gnu one (coming from the gettext
package).

Packages including .po files with uses of msgid_plural should define the
USE_MSGFMT_PLURALS variable to 'yes', so that the msgfmt wrapper is used.
(Do not use it when not really needed, as it will pull in perl5 as a build
dependancy).
2004-04-01 18:33:20 +00:00
jlam
fdb2269f67 bl3ify 2004-02-17 11:20:22 +00:00
seb
46286baf24 Remove info files entries from PLIST. 2004-02-15 21:38:32 +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
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
erh
43511a8c1c If we're on AIX, don't remove the .a library: it's the shared library.
Combine patch-ai into patch-ah to make future updates easier.
2003-12-05 18:15:49 +00:00
heinz
ee0bc1900d Add TEST_TARGET 2003-10-19 01:34:13 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +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
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
seb
331973aa91 Convert to USE_NEW_TEXINFO. 2003-06-23 10:57:27 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
98da6ab90c Move documentation to share/doc/gettext. Bump PKGREVISION to 2. 2003-04-27 19:18:19 +00:00
jlam
b526b47f26 Bump the PKGREVISION of devel/gettext: force the Java compiler to go
undetected so that the Java classes aren't built and installed.  The
gettext Java classes should go into a separate package so that all OSes
may install them, not just Solaris.
2002-12-22 05:14:41 +00:00
grant
ff8fa61e07 Handle the optional installation of the gettext.jar java class, which
is installed if a working java compiler is found (eg. Solaris).
2002-12-12 01:56:23 +00:00
jlam
cfb28341a1 Enforce the necessary gettext-lib version dependency in the gettext
Makefile instead of relying on the buildlink2.mk file to do it.
2002-12-12 00:57:15 +00:00
jlam
dd89a00af0 Don't use -no-undefined when building with libtool as it causes problems
on Solaris due to a missing shared libgcc library.  This addresses
PR 19214 by grant@netbsd.org.
2002-12-11 22:27:26 +00:00
jlam
78c305697d Remove unnecessary inclusion of libiconv/buildlink2.mk as the gettext-lib
buildlink2.mk file does it for us automatically.
2002-12-11 22:26:07 +00:00
jlam
a15ba61aaf The gettext fix has migrated to gettext-lib/buildlink2.mk 2002-12-02 22:17:43 +00:00
salo
937b3bf13b USE_PKGLOCALEDIR, remove unnecessary patches, delint. 2002-11-30 23:21:32 +00:00
drochner
16af549a21 bite the bullet and upgrade to 0.11.5
There are too many changes to list in a sensible way.
The most visible change for me is that libintl requires libiconv now.
Also untangled the 3 sub-pkgs -- a common patch dir makes it too complex.

This pkg used to expose buildlink2 problems - the pkg libintl was
pulled in in cases where USE_GNU_GETTEXT was not set. There were
some improvements to libtool filtering, and x11/gtk builds now, so
I hope this is settled.
2002-11-27 17:41:05 +00:00
jlam
9f6ae1c4bf buildlink1 -> buildlink2 2002-08-28 06:49:34 +00:00