summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2011-04-12 17:41:28 +0000
committeradam <adam>2011-04-12 17:41:28 +0000
commitc84e69cfda584a5dc35dc000076b99e24aa14446 (patch)
treea67885282d6ff91f6ca14e828919c1fcdfbbef4d
parent8986108b66a2c2f6d1dda9c8e91a8c97e326478e (diff)
downloadpkgsrc-c84e69cfda584a5dc35dc000076b99e24aa14446.tar.gz
Changes 0.18.1:
* msggrep: A '$' anchor in a regular expression now also matches the end of the string, even if it does not end in a newline. * Dependencies: The libraries and programs are now linked with libunistring if this library is already installed. * Installation options: The configure option --with-cvs is deprecated. The 'autopoint' program will now use the 'git' program by default to compress its archive. If the configure option --without-git is specified, 'autopoint' will not rely on 'git', but will instead rely on a locally installed a 3 MB large archive. Changes 0.18: * Runtime behaviour: - On MacOS X and Windows systems, <libintl.h> now extends setlocale() and newlocale() so that their determination of the default locale considers the choice the user has made in the system control panels. - On MacOS X systems, the gettext()/dgettext()/... functions now respect the locale of the current thread, if a thread-specific locale has been set. * PO file format: There is a new field 'Language' in the header entry. It denotes the language code (plus optional country code) for the PO file. This field can be used by automated tools, such as spell checkers. It is expected to be more reliable than looking at the file name or at the 'Language-Team' field in the header entry. msgmerge, msgcat, msgen have a new option --lang that allows to specify this field. Additionally, msgmerge fills in this new field by looking at the 'Language-Team' field (if the --lang option is not given). * xgettext and PO file format: For messages with plural forms, programmers can inform the translators about the range of possible values of the numeric argument, like this: /* xgettext: range: 0..15 */ This information 'range: 0..15' is stored in the PO file as a flag attached to the message. Translators can produce better translations when they know that the numeric argument is small. * Colorized PO files: msgattrib, msgcomm, msgconv, msgen, msgfilter, msggrep, msginit, msgmerge, msgunfmt, msguniq, xgettext now have options --color and --style, like msgcat has since version 0.17. * msgmerge is up to 10 times faster when the PO and POT files are large. This speedup was contributed by Ralf Wildenhues. * msgcmp has a new option -N/--no-fuzzy-matching, like msgmerge has since version 0.12. * msgfilter now sets environment variables during the invocation of the filter, indicating the msgid and location of the messge being processed. * xgettext now can extract plural forms from Qt 4 programs. The recommended xgettext command-line options for this case are: --qt --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t * xgettext --language=GCC-source now recognizes also the format strings used in the Fortran front-end of the GCC compiler, and marks them as 'gfc-internal-format'. * autopoint can now be used to update several PO directories all together.
-rw-r--r--devel/gettext-asprintf/Makefile19
-rw-r--r--devel/gettext-asprintf/PLIST4
-rw-r--r--devel/gettext-asprintf/buildlink3.mk4
-rw-r--r--devel/gettext-asprintf/distinfo8
-rw-r--r--devel/gettext-lib/Makefile25
-rw-r--r--devel/gettext-lib/buildlink3.mk8
-rw-r--r--devel/gettext-lib/builtin.mk6
-rw-r--r--devel/gettext-lib/distinfo12
-rw-r--r--devel/gettext-lib/patches/patch-aa12
-rw-r--r--devel/gettext-lib/patches/patch-ab16
-rw-r--r--devel/gettext-m4/Makefile21
-rw-r--r--devel/gettext-m4/PLIST21
-rw-r--r--devel/gettext-m4/distinfo8
-rw-r--r--devel/gettext-tools/Makefile24
-rw-r--r--devel/gettext-tools/PLIST17
-rw-r--r--devel/gettext-tools/distinfo23
-rw-r--r--devel/gettext-tools/patches/patch-aa15
-rw-r--r--devel/gettext-tools/patches/patch-ab13
-rw-r--r--devel/gettext-tools/patches/patch-ac18
-rw-r--r--devel/gettext-tools/patches/patch-ad22
-rw-r--r--devel/gettext-tools/patches/patch-ae15
-rw-r--r--devel/gettext-tools/patches/patch-af18
-rw-r--r--devel/gettext-tools/patches/patch-ag47
-rw-r--r--devel/gettext-tools/patches/patch-ah73
-rw-r--r--devel/gettext-tools/patches/patch-aj22
-rw-r--r--devel/gettext-tools/patches/patch-ak13
-rw-r--r--devel/gettext-tools/patches/patch-al13
-rw-r--r--devel/gettext-tools/patches/patch-am14
-rw-r--r--devel/gettext-tools/patches/patch-an13
-rw-r--r--devel/gettext-tools/patches/patch-ao27
-rw-r--r--devel/gettext-tools/patches/patch-ap29
-rw-r--r--devel/gettext-tools/patches/patch-aq27
-rw-r--r--devel/gettext-tools/patches/patch-ar17
-rw-r--r--devel/gettext-tools/patches/patch-as19
-rw-r--r--devel/gettext/Makefile24
-rw-r--r--devel/gettext/Makefile.common23
-rw-r--r--devel/gettext/PLIST17
-rw-r--r--devel/gettext/distinfo33
-rw-r--r--devel/gettext/patches/patch-aa10
-rw-r--r--devel/gettext/patches/patch-ab8
-rw-r--r--devel/gettext/patches/patch-ad27
-rw-r--r--devel/gettext/patches/patch-ae10
-rw-r--r--devel/gettext/patches/patch-ag45
-rw-r--r--devel/gettext/patches/patch-ah50
-rw-r--r--devel/gettext/patches/patch-aj26
-rw-r--r--devel/gettext/patches/patch-ak6
-rw-r--r--devel/gettext/patches/patch-al25
-rw-r--r--devel/gettext/patches/patch-am14
-rw-r--r--devel/gettext/patches/patch-an12
-rw-r--r--devel/gettext/patches/patch-ao10
-rw-r--r--devel/gettext/patches/patch-ap13
-rw-r--r--devel/gettext/patches/patch-aq14
52 files changed, 253 insertions, 757 deletions
diff --git a/devel/gettext-asprintf/Makefile b/devel/gettext-asprintf/Makefile
index d38f4afa0af..e6930f47526 100644
--- a/devel/gettext-asprintf/Makefile
+++ b/devel/gettext-asprintf/Makefile
@@ -1,25 +1,14 @@
-# $NetBSD: Makefile,v 1.8 2010/10/27 15:43:54 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2011/04/12 17:41:28 adam Exp $
-DISTNAME= gettext-0.14.6
-PKGNAME= gettext-asprintf-0.14.6
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+.include "../../devel/gettext/Makefile.common"
-MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+PKGNAME= ${DISTNAME:S/-/-asprintf-/}
COMMENT= Provides a printf-like interface for C++
-LICENSE= gnu-gpl-v2
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-PKG_DESTDIR_SUPPORT= user-destdir
-
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
CONFIGURE_DIRS= gettext-runtime
BUILD_DIRS= gettext-runtime/libasprintf
+USE_LANGUAGES= c c++
INFO_FILES= yes
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gettext-asprintf/PLIST b/devel/gettext-asprintf/PLIST
index dd4aa87bcfb..2ff0bc75fc8 100644
--- a/devel/gettext-asprintf/PLIST
+++ b/devel/gettext-asprintf/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:48:45 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/04/12 17:41:28 adam Exp $
include/autosprintf.h
info/autosprintf.info
lib/libasprintf.la
-share/doc/libasprintf/autosprintf.html
+share/doc/libasprintf/autosprintf_all.html
diff --git a/devel/gettext-asprintf/buildlink3.mk b/devel/gettext-asprintf/buildlink3.mk
index d779902b975..98203496019 100644
--- a/devel/gettext-asprintf/buildlink3.mk
+++ b/devel/gettext-asprintf/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.5 2009/03/20 19:24:13 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2011/04/12 17:41:28 adam Exp $
BUILDLINK_TREE+= gettext-asprintf
.if !defined(GETTEXT_ASPRINTF_BUILDLINK3_MK)
GETTEXT_ASPRINTF_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.gettext-asprintf+= gettext-asprintf>=0.14.5
+BUILDLINK_API_DEPENDS.gettext-asprintf+= gettext-asprintf>=0.18
BUILDLINK_PKGSRCDIR.gettext-asprintf?= ../../devel/gettext-asprintf
.endif # GETTEXT_ASPRINTF_BUILDLINK3_MK
diff --git a/devel/gettext-asprintf/distinfo b/devel/gettext-asprintf/distinfo
index b3ab169991b..caa83c1ebe7 100644
--- a/devel/gettext-asprintf/distinfo
+++ b/devel/gettext-asprintf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2006/07/26 06:53:02 adam Exp $
+$NetBSD: distinfo,v 1.3 2011/04/12 17:41:28 adam Exp $
-SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
-RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
-Size (gettext-0.14.6.tar.gz) = 7102365 bytes
+SHA1 (gettext-0.18.1.1.tar.gz) = 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f
+RMD160 (gettext-0.18.1.1.tar.gz) = 0ca0b6bf0219440404a86f0c16cbac3d1a2ecd37
+Size (gettext-0.18.1.1.tar.gz) = 15139737 bytes
diff --git a/devel/gettext-lib/Makefile b/devel/gettext-lib/Makefile
index 5bb6273a5da..082bf32d6f2 100644
--- a/devel/gettext-lib/Makefile
+++ b/devel/gettext-lib/Makefile
@@ -1,27 +1,16 @@
-# $NetBSD: Makefile,v 1.51 2010/10/28 09:34:19 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2011/04/12 17:41:28 adam Exp $
-DISTNAME= gettext-0.14.6
-PKGNAME= gettext-lib-0.14.6
-SVR4_PKGNAME= gttli
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+.include "../../devel/gettext/Makefile.common"
-MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+PKGNAME= ${DISTNAME:S/-/-lib-/}
+SVR4_PKGNAME= gttli
COMMENT= Internationalized Message Handling Library (libintl)
-LICENSE= gnu-gpl-v2
-
-CONFLICTS= gettext<=0.10.35
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-PKG_DESTDIR_SUPPORT= user-destdir
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+USE_LANGUAGES= c
CONFIGURE_ARGS+= --with-included-gettext
CONFIGURE_ARGS+= --disable-csharp
-CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
-MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
+CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
+MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CFLAGS+= ${CFLAGS.${ICONV_TYPE}-iconv}
CFLAGS.gnu-iconv+= -DHAVE_GNU_ICONV
diff --git a/devel/gettext-lib/buildlink3.mk b/devel/gettext-lib/buildlink3.mk
index a8f231fe88f..71a4905af46 100644
--- a/devel/gettext-lib/buildlink3.mk
+++ b/devel/gettext-lib/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.31 2009/03/20 19:24:13 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.32 2011/04/12 17:41:28 adam Exp $
BUILDLINK_TREE+= gettext
.if !defined(GETTEXT_BUILDLINK3_MK)
GETTEXT_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5
+BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.18
BUILDLINK_PKGSRCDIR.gettext?= ../../devel/gettext-lib
BUILDLINK_LIBNAME.gettext= intl
BUILDLINK_LDADD.gettext= ${BUILDLINK_LIBNAME.gettext:S/^/-l/:S/^-l$//}
@@ -21,10 +21,10 @@ BUILDLINK_LDADD.gettext+= ${BUILDLINK_LDADD.iconv}
# to LIBS to workaround this brokenness.
#
BROKEN_GETTEXT_DETECTION?= no
-. if !empty(BROKEN_GETTEXT_DETECTION:M[yY][eE][sS])
+.if !empty(BROKEN_GETTEXT_DETECTION:M[yY][eE][sS])
BUILDLINK_LIBS.gettext+= ${BUILDLINK_LDADD.gettext}
CONFIGURE_ENV+= INTLLIBS="${BUILDLINK_LDADD.gettext}"
-. endif
+.endif
CHECK_BUILTIN.gettext:= yes
.include "../../devel/gettext-lib/builtin.mk"
diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk
index 5353e9362f7..ea214fa3c49 100644
--- a/devel/gettext-lib/builtin.mk
+++ b/devel/gettext-lib/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.40 2011/01/21 21:24:11 wiz Exp $
+# $NetBSD: builtin.mk,v 1.41 2011/04/12 17:41:28 adam Exp $
.include "../../mk/bsd.fast.prefs.mk"
@@ -50,14 +50,14 @@ USE_BUILTIN.gettext= ${IS_BUILTIN.gettext}
!empty(IS_BUILTIN.gettext:M[yY][eE][sS])
USE_BUILTIN.gettext= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.gettext}
-. if !empty(USE_BUILTIN.gettext:M[yY][eE][sS])
+. if !empty(USE_BUILTIN.gettext:M[yY][eE][sS])
USE_BUILTIN.gettext!= \
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.gettext:Q}; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
-. endif
+. endif
. endfor
. endif
# XXX
diff --git a/devel/gettext-lib/distinfo b/devel/gettext-lib/distinfo
index 7f3be543af6..98394463c74 100644
--- a/devel/gettext-lib/distinfo
+++ b/devel/gettext-lib/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.17 2010/10/28 09:34:19 wiz Exp $
+$NetBSD: distinfo,v 1.18 2011/04/12 17:41:28 adam Exp $
-SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
-RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
-Size (gettext-0.14.6.tar.gz) = 7102365 bytes
-SHA1 (patch-aa) = b0d25a2e9547649a3d6d583bdfc98255dcafbf90
-SHA1 (patch-ab) = fc4da46f6f7003c22880455dfe66ff161aa92135
+SHA1 (gettext-0.18.1.1.tar.gz) = 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f
+RMD160 (gettext-0.18.1.1.tar.gz) = 0ca0b6bf0219440404a86f0c16cbac3d1a2ecd37
+Size (gettext-0.18.1.1.tar.gz) = 15139737 bytes
+SHA1 (patch-aa) = bd69b8c279dcf917fad953c2f64348fc2128bc4b
+SHA1 (patch-ab) = c5aef1ef15c91203697cd9817b6b03713f2a8b6f
diff --git a/devel/gettext-lib/patches/patch-aa b/devel/gettext-lib/patches/patch-aa
index aef1c1bd239..17b3e8d05f8 100644
--- a/devel/gettext-lib/patches/patch-aa
+++ b/devel/gettext-lib/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.6 2010/02/05 08:44:04 obache Exp $
+$NetBSD: patch-aa,v 1.7 2011/04/12 17:41:28 adam Exp $
---- gettext-runtime/intl/localcharset.c.orig 2005-05-20 13:07:51.000000000 -0700
+--- gettext-runtime/intl/localcharset.c.orig 2010-06-06 12:49:57.000000000 +0000
+++ gettext-runtime/intl/localcharset.c
-@@ -23,6 +23,10 @@
- # include <config.h>
- #endif
+@@ -21,6 +21,10 @@
+
+ #include <config.h>
+#if !defined(HAVE_GNU_ICONV)
+
@@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.6 2010/02/05 08:44:04 obache Exp $
/* Specification. */
#include "localcharset.h"
-@@ -407,3 +411,4 @@ locale_charset ()
+@@ -547,3 +551,4 @@ locale_charset (void)
return codeset;
}
diff --git a/devel/gettext-lib/patches/patch-ab b/devel/gettext-lib/patches/patch-ab
index d57ec10a231..4f38a71dfa5 100644
--- a/devel/gettext-lib/patches/patch-ab
+++ b/devel/gettext-lib/patches/patch-ab
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.4 2010/02/05 08:44:04 obache Exp $
+$NetBSD: patch-ab,v 1.5 2011/04/12 17:41:28 adam Exp $
---- gettext-runtime/intl/Makefile.in.orig Thu Jul 25 08:49:57 2002
-+++ gettext-runtime/intl/Makefile.in Mon Mar 15 14:39:58 2004
-@@ -156,8 +156,7 @@ libintl.la libgnuintl.la: $(OBJECTS)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
- $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) -lc \
+--- gettext-runtime/intl/Makefile.in.orig 2010-06-06 12:49:57.000000000 +0000
++++ gettext-runtime/intl/Makefile.in
+@@ -223,8 +223,7 @@ libintl.la libgnuintl.la: $(OBJECTS) $(O
+ $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) @LTLIBTHREAD@ @LTLIBC@ \
+ $(OBJECTS_RES_@WOE32@) \
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
- -rpath $(libdir) \
- -no-undefined
@@ -12,8 +12,8 @@ $NetBSD: patch-ab,v 1.4 2010/02/05 08:44:04 obache Exp $
# Libtool's library version information for libintl.
# Before making a gettext release, the gettext maintainer must change this
-@@ -264,7 +263,7 @@ install-exec: all
- $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
+@@ -386,7 +385,7 @@ install-exec: all
+ $(mkdir_p) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
$(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \
$(LIBTOOL) --mode=install \
- $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
diff --git a/devel/gettext-m4/Makefile b/devel/gettext-m4/Makefile
index 34c12d790ee..91e6fca8bb3 100644
--- a/devel/gettext-m4/Makefile
+++ b/devel/gettext-m4/Makefile
@@ -1,30 +1,21 @@
-# $NetBSD: Makefile,v 1.17 2010/01/30 16:28:00 heinz Exp $
+# $NetBSD: Makefile,v 1.18 2011/04/12 17:41:28 adam Exp $
-DISTNAME= gettext-0.14.6
-PKGNAME= gettext-m4-0.14.6
-SVR4_PKGNAME= gttm4
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+.include "../../devel/gettext/Makefile.common"
-MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+PKGNAME= ${DISTNAME:S/-/-m4-/}
+SVR4_PKGNAME= gttm4
COMMENT= Autoconf/automake m4 files for GNU NLS library
LICENSE= gnu-gpl-v2
-CONFLICTS= gettext<=0.10.35nb1
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-PKG_DESTDIR_SUPPORT= user-destdir
-
NO_BUILD= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS+= share/aclocal
do-install:
- ${INSTALL_DATA} ${WRKSRC:Q}/gettext-runtime/m4/*.m4 \
+ ${INSTALL_DATA} ${WRKSRC}/gettext-runtime/m4/*.m4 \
${DESTDIR}${PREFIX}/share/aclocal
- ${INSTALL_DATA} ${WRKSRC:Q}/autoconf-lib-link/m4/*.m4 \
+ ${INSTALL_DATA} ${WRKSRC}/gettext-tools/m4/*.m4 \
${DESTDIR}${PREFIX}/share/aclocal
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gettext-m4/PLIST b/devel/gettext-m4/PLIST
index e1275a42bc5..85239bf85d5 100644
--- a/devel/gettext-m4/PLIST
+++ b/devel/gettext-m4/PLIST
@@ -1,31 +1,34 @@
-@comment $NetBSD: PLIST,v 1.3 2006/02/05 22:45:54 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2011/04/12 17:41:28 adam Exp $
share/aclocal/ansi-c++.m4
share/aclocal/codeset.m4
+share/aclocal/exported.m4
+share/aclocal/fcntl-o.m4
share/aclocal/gettext.m4
share/aclocal/glibc2.m4
share/aclocal/glibc21.m4
+share/aclocal/hostname.m4
share/aclocal/iconv.m4
share/aclocal/intdiv0.m4
+share/aclocal/intl.m4
+share/aclocal/intldir.m4
+share/aclocal/intlmacosx.m4
share/aclocal/intmax.m4
share/aclocal/inttypes-pri.m4
-share/aclocal/inttypes.m4
share/aclocal/inttypes_h.m4
-share/aclocal/isc-posix.m4
share/aclocal/lcmessage.m4
-share/aclocal/lib-ld.m4
-share/aclocal/lib-link.m4
-share/aclocal/lib-prefix.m4
-share/aclocal/longdouble.m4
+share/aclocal/lock.m4
share/aclocal/longlong.m4
share/aclocal/nls.m4
share/aclocal/po.m4
share/aclocal/printf-posix.m4
share/aclocal/progtest.m4
-share/aclocal/signed.m4
+share/aclocal/setlocale.m4
+share/aclocal/siginfo.m4
share/aclocal/size_max.m4
share/aclocal/stdint_h.m4
+share/aclocal/threadlib.m4
share/aclocal/uintmax_t.m4
-share/aclocal/ulonglong.m4
+share/aclocal/visibility.m4
share/aclocal/wchar_t.m4
share/aclocal/wint_t.m4
share/aclocal/xsize.m4
diff --git a/devel/gettext-m4/distinfo b/devel/gettext-m4/distinfo
index 25c980ab084..402d38dbff2 100644
--- a/devel/gettext-m4/distinfo
+++ b/devel/gettext-m4/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/07/26 06:53:02 adam Exp $
+$NetBSD: distinfo,v 1.5 2011/04/12 17:41:28 adam Exp $
-SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
-RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
-Size (gettext-0.14.6.tar.gz) = 7102365 bytes
+SHA1 (gettext-0.18.1.1.tar.gz) = 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f
+RMD160 (gettext-0.18.1.1.tar.gz) = 0ca0b6bf0219440404a86f0c16cbac3d1a2ecd37
+Size (gettext-0.18.1.1.tar.gz) = 15139737 bytes
diff --git a/devel/gettext-tools/Makefile b/devel/gettext-tools/Makefile
index c305aebda63..9bd889b6687 100644
--- a/devel/gettext-tools/Makefile
+++ b/devel/gettext-tools/Makefile
@@ -1,26 +1,17 @@
-# $NetBSD: Makefile,v 1.14 2011/02/09 05:52:07 dholland Exp $
+# $NetBSD: Makefile,v 1.15 2011/04/12 17:41:29 adam Exp $
-DISTNAME= gettext-0.14.6
-PKGNAME= gettext-tools-0.14.6
-PKGREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+.include "../../devel/gettext/Makefile.common"
-MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+PKGNAME= ${DISTNAME:S/-/-tools-/}
COMMENT= Tools for providing messages in different languages
-LICENSE= gnu-gpl-v2
-PKG_DESTDIR_SUPPORT= user-destdir
+#MAKE_JOBS_SAFE= no
-BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5
-CONFLICTS= gettext<0.14.5
+DISTINFO_FILE= ${.CURDIR}/../../devel/gettext/distinfo
+PATCHDIR= ${.CURDIR}/../../devel/gettext/patches
-MAKE_JOBS_SAFE= no
-
-USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
-GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --disable-csharp
CONFIGURE_ENV+= GCJ= ac_cv_prog_GCJ= ac_cv_prog_JAR=
@@ -32,7 +23,6 @@ LDFLAGS.AIX+= -Wl,-brtl
SHLIBTOOL_OVERRIDE= # empty
INFO_FILES= yes
-MAKE_JOBS_SAFE= no
BROKEN_GETTEXT_DETECTION= yes
USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
diff --git a/devel/gettext-tools/PLIST b/devel/gettext-tools/PLIST
index 3fc29a92224..deedcf22d65 100644
--- a/devel/gettext-tools/PLIST
+++ b/devel/gettext-tools/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:48:45 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2011/04/12 17:41:29 adam Exp $
bin/envsubst
bin/gettext
bin/gettext.sh
@@ -17,6 +17,7 @@ bin/msgmerge
bin/msgunfmt
bin/msguniq
bin/ngettext
+bin/recode-sr-latin
bin/xgettext
include/gettext-po.h
info/gettext.info
@@ -40,6 +41,7 @@ man/man1/msgmerge.1
man/man1/msgunfmt.1
man/man1/msguniq.1
man/man1/ngettext.1
+man/man1/recode-sr-latin.1
man/man1/xgettext.1
man/man3/bind_textdomain_codeset.3
man/man3/bindtextdomain.3
@@ -72,6 +74,9 @@ share/doc/gettext/gettext_2.html
share/doc/gettext/gettext_20.html
share/doc/gettext/gettext_21.html
share/doc/gettext/gettext_22.html
+share/doc/gettext/gettext_23.html
+share/doc/gettext/gettext_24.html
+share/doc/gettext/gettext_25.html
share/doc/gettext/gettext_3.html
share/doc/gettext/gettext_4.html
share/doc/gettext/gettext_5.html
@@ -98,11 +103,14 @@ share/doc/gettext/msgunfmt.1.html
share/doc/gettext/msguniq.1.html
share/doc/gettext/ngettext.1.html
share/doc/gettext/ngettext.3.html
+share/doc/gettext/recode-sr-latin.1.html
share/doc/gettext/textdomain.3.html
share/doc/gettext/tutorial.html
share/doc/gettext/xgettext.1.html
share/locale/be/LC_MESSAGES/gettext-runtime.mo
share/locale/be/LC_MESSAGES/gettext-tools.mo
+share/locale/bg/LC_MESSAGES/gettext-runtime.mo
+share/locale/bg/LC_MESSAGES/gettext-tools.mo
share/locale/ca/LC_MESSAGES/gettext-runtime.mo
share/locale/ca/LC_MESSAGES/gettext-tools.mo
share/locale/cs/LC_MESSAGES/gettext-runtime.mo
@@ -117,10 +125,12 @@ share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo
share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo
share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo
share/locale/en@quot/LC_MESSAGES/gettext-tools.mo
+share/locale/eo/LC_MESSAGES/gettext-runtime.mo
share/locale/es/LC_MESSAGES/gettext-runtime.mo
share/locale/es/LC_MESSAGES/gettext-tools.mo
share/locale/et/LC_MESSAGES/gettext-runtime.mo
share/locale/et/LC_MESSAGES/gettext-tools.mo
+share/locale/eu/LC_MESSAGES/gettext-tools.mo
share/locale/fi/LC_MESSAGES/gettext-runtime.mo
share/locale/fi/LC_MESSAGES/gettext-tools.mo
share/locale/fr/LC_MESSAGES/gettext-runtime.mo
@@ -136,12 +146,12 @@ share/locale/ja/LC_MESSAGES/gettext-runtime.mo
share/locale/ja/LC_MESSAGES/gettext-tools.mo
share/locale/ko/LC_MESSAGES/gettext-runtime.mo
share/locale/ko/LC_MESSAGES/gettext-tools.mo
+share/locale/nb/LC_MESSAGES/gettext-runtime.mo
+share/locale/nb/LC_MESSAGES/gettext-tools.mo
share/locale/nl/LC_MESSAGES/gettext-runtime.mo
share/locale/nl/LC_MESSAGES/gettext-tools.mo
share/locale/nn/LC_MESSAGES/gettext-runtime.mo
share/locale/nn/LC_MESSAGES/gettext-tools.mo
-share/locale/no/LC_MESSAGES/gettext-runtime.mo
-share/locale/no/LC_MESSAGES/gettext-tools.mo
share/locale/pl/LC_MESSAGES/gettext-runtime.mo
share/locale/pl/LC_MESSAGES/gettext-tools.mo
share/locale/pt/LC_MESSAGES/gettext-runtime.mo
@@ -168,5 +178,6 @@ share/locale/vi/LC_MESSAGES/gettext-runtime.mo
share/locale/vi/LC_MESSAGES/gettext-tools.mo
share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo
+share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo
diff --git a/devel/gettext-tools/distinfo b/devel/gettext-tools/distinfo
deleted file mode 100644
index d7ae2ba2601..00000000000
--- a/devel/gettext-tools/distinfo
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: distinfo,v 1.9 2010/02/05 11:18:12 obache Exp $
-
-SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
-RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
-Size (gettext-0.14.6.tar.gz) = 7102365 bytes
-SHA1 (patch-aa) = da7ff06b28645b7c63ae9e49a29a8014f07dcec1
-SHA1 (patch-ab) = d13af25a5fbe3e4141b67bbeaeaf637482e78442
-SHA1 (patch-ac) = 2ecf4b3e10e64b6d73249ecc2673fae1395f283a
-SHA1 (patch-ad) = 53bf06d6073cd2ff4a09a688b1df3d294ef7ddb4
-SHA1 (patch-ae) = f2efed6024ef1aa3fb972c043e0900676659c766
-SHA1 (patch-af) = a767c2877a2a4b54eb3653b373f5d7d9a6dec52f
-SHA1 (patch-ag) = 9a39ea58e8e8c10c747ab34fe198072c8663d6b0
-SHA1 (patch-ah) = b33e4c81a8046e4f45b927613af59a0d99a4d0bb
-SHA1 (patch-aj) = 5a28ee9299b5c0e7ba10621bf73b638cafdcfa7e
-SHA1 (patch-ak) = 3f2aa72291aae5e024a3bb833b46973221be3b95
-SHA1 (patch-al) = 0a41f77406acf3959a64819a333b369ab2141610
-SHA1 (patch-am) = c130b93748604e3823ba17d29af9d91aaeecfcde
-SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
-SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
-SHA1 (patch-ap) = 2955c2d6b2b2d52248d449a0b7ea025a0d632bea
-SHA1 (patch-aq) = 5071a9358707ee8831fa0fcfb6a4cd35a21f7547
-SHA1 (patch-ar) = 587e9788aee5180a0425c0eb0797e6f8e68da864
-SHA1 (patch-as) = d6d13bb226c12a8f6549314bfa6a426f258fe014
diff --git a/devel/gettext-tools/patches/patch-aa b/devel/gettext-tools/patches/patch-aa
deleted file mode 100644
index ed93a46d59f..00000000000
--- a/devel/gettext-tools/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-runtime/configure.orig 2006-02-03 14:56:53.000000000 +0000
-+++ gettext-runtime/configure
-@@ -31906,10 +31906,6 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_l
-
- if test "$nls_cv_use_gnu_gettext" = "yes"; then
- BUILD_INCLUDED_LIBINTL=yes
-- USE_INCLUDED_LIBINTL=yes
-- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV"
-- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV"
-- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
- fi
-
- CATOBJEXT=
diff --git a/devel/gettext-tools/patches/patch-ab b/devel/gettext-tools/patches/patch-ab
deleted file mode 100644
index c405da3c55d..00000000000
--- a/devel/gettext-tools/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2006/07/26 06:53:02 adam Exp $
-
---- gettext-tools/misc/Makefile.in.orig 2006-06-21 14:30:05.000000000 +0200
-+++ gettext-tools/misc/Makefile.in
-@@ -576,7 +576,7 @@ info: info-am
-
- info-am:
-
--install-data-am: install-gettextsrcDATA install-lispLISP
-+install-data-am: install-gettextsrcDATA
-
- install-exec-am: install-binSCRIPTS
-
diff --git a/devel/gettext-tools/patches/patch-ac b/devel/gettext-tools/patches/patch-ac
deleted file mode 100644
index 2da9247eb68..00000000000
--- a/devel/gettext-tools/patches/patch-ac
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/11/26 18:09:04 tron Exp $
-
---- gettext-tools/lib/pipe.c.orig 2005-05-20 22:03:42.000000000 +0100
-+++ gettext-tools/lib/pipe.c 2007-11-26 17:50:22.000000000 +0000
-@@ -61,8 +61,13 @@
- #endif
-
- #ifndef HAVE_ENVIRON_DECL
-+#ifdef __APPLE__
-+#include <crt_externs.h>
-+#define environ (*_NSGetEnviron())
-+#else
- extern char **environ;
- #endif
-+#endif
-
- #ifndef STDIN_FILENO
- # define STDIN_FILENO 0
diff --git a/devel/gettext-tools/patches/patch-ad b/devel/gettext-tools/patches/patch-ad
deleted file mode 100644
index 5cbc71bb54b..00000000000
--- a/devel/gettext-tools/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-tools/Makefile.in.orig 2006-02-03 15:55:59.000000000 +0000
-+++ gettext-tools/Makefile.in
-@@ -348,7 +348,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
- ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
--SUBDIRS = doc intl lib libgrep libuniname src po projects misc man m4 tests examples
-+SUBDIRS = doc intl lib libgrep libuniname src po man tests
- # vms_jackets.h is a header that comes with Compaq's "porting library".
- # KEEP_CRTL_SETLOCALE tells it to not override the native locale support.
- EXTRA_DIST = misc/DISCLAIM Makefile.vms config.h_vms README.woe32 \
-@@ -774,7 +774,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-gettextsrcSCRIPTS
-+install-data-am:
-
- install-exec-am:
-
diff --git a/devel/gettext-tools/patches/patch-ae b/devel/gettext-tools/patches/patch-ae
deleted file mode 100644
index 7b8a526ebfd..00000000000
--- a/devel/gettext-tools/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-tools/configure.orig 2006-02-03 17:13:33.000000000 +0000
-+++ gettext-tools/configure
-@@ -39057,10 +39057,6 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_l
-
- if test "$nls_cv_use_gnu_gettext" = "yes"; then
- BUILD_INCLUDED_LIBINTL=yes
-- USE_INCLUDED_LIBINTL=yes
-- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV"
-- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV"
-- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
- fi
-
- CATOBJEXT=
diff --git a/devel/gettext-tools/patches/patch-af b/devel/gettext-tools/patches/patch-af
deleted file mode 100644
index a856abd2226..00000000000
--- a/devel/gettext-tools/patches/patch-af
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-af,v 1.1 2007/11/26 18:09:05 tron Exp $
-
---- gettext-tools/lib/execute.c.orig 2005-05-20 22:03:42.000000000 +0100
-+++ gettext-tools/lib/execute.c 2007-11-26 17:51:20.000000000 +0000
-@@ -62,8 +62,13 @@
- #endif
-
- #ifndef HAVE_ENVIRON_DECL
-+#ifdef __APPLE__
-+#include <crt_externs.h>
-+#define environ (*_NSGetEnviron())
-+#else
- extern char **environ;
- #endif
-+#endif
-
- #ifndef STDIN_FILENO
- # define STDIN_FILENO 0
diff --git a/devel/gettext-tools/patches/patch-ag b/devel/gettext-tools/patches/patch-ag
deleted file mode 100644
index e04cc05100e..00000000000
--- a/devel/gettext-tools/patches/patch-ag
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2006/07/26 06:53:02 adam Exp $
-
---- gettext-tools/lib/Makefile.in.orig 2006-06-21 14:30:05.000000000 +0200
-+++ gettext-tools/lib/Makefile.in
-@@ -453,7 +453,7 @@ libgettextlib_la_LIBADD = @LTLIBOBJS@
- # Need @LTLIBICONV@ because linebreak.c uses iconv().
- libgettextlib_la_LDFLAGS = \
- -release @VERSION@ \
-- @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
-+ @LTLIBINTL@ @LTLIBICONV@ -lc
-
-
- # Extra files to be installed.
-@@ -681,7 +681,7 @@ check: $(BUILT_SOURCES)
- $(MAKE) $(AM_MAKEFLAGS) check-am
- all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
- installdirs:
-- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(examplesbuildauxdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
-+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
- done
- install: $(BUILT_SOURCES)
-@@ -733,7 +733,7 @@ info: info-am
-
- info-am:
-
--install-data-am: install-examplesbuildauxDATA install-gettextsrcDATA
-+install-data-am:
-
- install-exec-am: install-exec-local install-libLTLIBRARIES
-
-@@ -779,15 +779,6 @@ uninstall-am: uninstall-examplesbuildaux
- uninstall-gettextsrcDATA uninstall-info-am \
- uninstall-libLTLIBRARIES uninstall-local
-
--
--# No need to install libgettextlib.a, except on AIX.
--install-exec-local: install-libLTLIBRARIES install-exec-clean
--install-exec-clean:
-- case "@host_os@" in \
-- aix*) ;; \
-- *) $(RM) $(DESTDIR)$(libdir)/libgettextlib.a ;; \
-- esac
--
- # The following is needed in order to create an <stdbool.h> when the system
- # doesn't have one that works.
- all-local $(libgettextlib_la_OBJECTS): @STDBOOL_H@
diff --git a/devel/gettext-tools/patches/patch-ah b/devel/gettext-tools/patches/patch-ah
deleted file mode 100644
index 35b626133a8..00000000000
--- a/devel/gettext-tools/patches/patch-ah
+++ /dev/null
@@ -1,73 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2006/07/26 06:53:02 adam Exp $
-
---- gettext-tools/src/Makefile.in.orig 2006-06-21 18:53:45.000000000 +0200
-+++ gettext-tools/src/Makefile.in
-@@ -183,9 +183,7 @@ msggrep_DEPENDENCIES = $(am__DEPENDENCIE
- am_msginit_OBJECTS = msginit-msginit.$(OBJEXT) \
- msginit-plural-count.$(OBJEXT) msginit-localealias.$(OBJEXT)
- msginit_OBJECTS = $(am_msginit_OBJECTS)
--msginit_DEPENDENCIES = \
-- ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
-- libgettextsrc.la
-+msginit_DEPENDENCIES = libgettextsrc.la
- am_msgmerge_OBJECTS = msgmerge-msgmerge.$(OBJEXT) \
- msgmerge-plural-count.$(OBJEXT)
- msgmerge_OBJECTS = $(am_msgmerge_OBJECTS)
-@@ -591,7 +589,7 @@ urlget_SOURCES = urlget.c
- # use iconv().
- libgettextsrc_la_LDFLAGS = \
- -release @VERSION@ \
-- ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
-+ ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc
-
-
- # How to build libgettextpo.la.
-@@ -622,8 +620,7 @@ msgen_LDADD = libgettextsrc.la @INTL_MAC
- msgexec_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
- msgfilter_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
- msggrep_LDADD = $(LIBGREP) libgettextsrc.la @INTL_MACOSX_LIBS@
--msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
-- libgettextsrc.la @INTL_MACOSX_LIBS@
-+msginit_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
-
- msguniq_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
-
-@@ -1348,7 +1345,7 @@ info-am:
-
- install-data-am: install-data-local install-includeHEADERS
-
--install-exec-am: install-binPROGRAMS install-exec-local \
-+install-exec-am: install-binPROGRAMS \
- install-libLTLIBRARIES
-
- install-info: install-info-am
-@@ -1395,14 +1392,6 @@ uninstall-am: uninstall-binPROGRAMS unin
- uninstall-info-am uninstall-libLTLIBRARIES uninstall-local
-
-
--# No need to install libgettextsrc.a, except on AIX.
--install-exec-local: install-libLTLIBRARIES install-exec-clean
--install-exec-clean:
-- case "@host_os@" in \
-- aix*) ;; \
-- *) $(RM) $(DESTDIR)$(libdir)/libgettextsrc.a ;; \
-- esac
--
- po-lex.o po-lex.lo: po-gram-gen2.h
- po-gram-gen2.h: po-gram-gen.h
- $(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' $(srcdir)/po-gram-gen.h > $@-tmp
-@@ -1506,12 +1495,12 @@ uninstall-csharp-yes: all-csharp-yes
- $(RM) $(DESTDIR)$(pkglibdir)/msgunfmt.net.exe
- uninstall-csharp-no:
-
--install-data-local: install-tcl
-+install-data-local:
- install-tcl:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
- $(INSTALL_DATA) $(srcdir)/msgunfmt.tcl $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
-
--installdirs-local: installdirs-tcl
-+installdirs-local:
- installdirs-tcl:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
-
diff --git a/devel/gettext-tools/patches/patch-aj b/devel/gettext-tools/patches/patch-aj
deleted file mode 100644
index e998e282036..00000000000
--- a/devel/gettext-tools/patches/patch-aj
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-runtime/Makefile.in.orig 2006-02-03 14:42:03.000000000 +0000
-+++ gettext-runtime/Makefile.in
-@@ -300,7 +300,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
- ACLOCAL_AMFLAGS = -I m4 -I ../gettext-tools/m4 -I ../autoconf-lib-link/m4 -I ../m4
--SUBDIRS = doc intl intl-java intl-csharp lib @SUBDIR_libasprintf@ src po man m4
-+SUBDIRS = doc lib src po man m4
- DIST_SUBDIRS = doc intl intl-java intl-csharp lib libasprintf src po man m4
- EXTRA_DIST = BUGS Makefile.vms config.h_vms README.woe32 Makefile.msvc \
- config.h.msvc windows/dllexport.h windows/intl.rc
-@@ -719,7 +719,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-gettextsrcDATA
-+install-data-am:
-
- install-exec-am:
-
diff --git a/devel/gettext-tools/patches/patch-ak b/devel/gettext-tools/patches/patch-ak
deleted file mode 100644
index 40a1ee13119..00000000000
--- a/devel/gettext-tools/patches/patch-ak
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ak,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-runtime/intl/Makefile.in.orig 2006-02-04 19:34:01.000000000 +0000
-+++ gettext-runtime/intl/Makefile.in
-@@ -257,7 +257,7 @@ check: all
- # separate library.
- # If you want to use the one which comes with this version of the
- # package, you have to use `configure --with-included-gettext'.
--install: install-exec install-data
-+install:
- install-exec: all
- if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
- && test '@USE_INCLUDED_LIBINTL@' = yes; then \
diff --git a/devel/gettext-tools/patches/patch-al b/devel/gettext-tools/patches/patch-al
deleted file mode 100644
index 41382c2b65e..00000000000
--- a/devel/gettext-tools/patches/patch-al
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-tools/po/Makefile.in.in.orig 2006-02-04 19:55:59.000000000 +0000
-+++ gettext-tools/po/Makefile.in.in
-@@ -154,7 +154,7 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot
- fi
-
-
--install: install-exec install-data
-+install: install-exec install-data-@USE_NLS@
- install-exec:
- install-data: install-data-@USE_NLS@
- if test "$(PACKAGE)" = "gettext-tools"; then \
diff --git a/devel/gettext-tools/patches/patch-am b/devel/gettext-tools/patches/patch-am
deleted file mode 100644
index fae6b3c3a4e..00000000000
--- a/devel/gettext-tools/patches/patch-am
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-am,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- gettext-tools/man/Makefile.in.orig 2006-02-04 20:16:58.000000000 +0000
-+++ gettext-tools/man/Makefile.in
-@@ -328,8 +328,7 @@ gettextize.x autopoint.x
- # Likewise.
- man_MAN1OTHER = \
- msgcmp.1 msgfmt.1 msgmerge.1 msgunfmt.1 xgettext.1 \
--msgattrib.1 msgcat.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 msgfilter.1 msggrep.1 msginit.1 msguniq.1 \
--gettextize.1 autopoint.1
-+msgattrib.1 msgcat.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 msgfilter.1 msggrep.1 msginit.1 msguniq.1
-
- man_MAN1 = $(man_MAN1OTHER)
- man_MANS = $(man_MAN1)
diff --git a/devel/gettext-tools/patches/patch-an b/devel/gettext-tools/patches/patch-an
deleted file mode 100644
index 679a464c55b..00000000000
--- a/devel/gettext-tools/patches/patch-an
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-an,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $
-
---- Makefile.in.orig 2006-02-04 21:41:03.000000000 +0000
-+++ Makefile.in
-@@ -153,7 +153,7 @@ subdirs = @subdirs@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
--SUBDIRS = autoconf-lib-link gettext-runtime gettext-tools
-+SUBDIRS = gettext-runtime gettext-tools
-
- # DJGPP port.
-
diff --git a/devel/gettext-tools/patches/patch-ao b/devel/gettext-tools/patches/patch-ao
deleted file mode 100644
index ed53fbb1d49..00000000000
--- a/devel/gettext-tools/patches/patch-ao
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2006/02/14 22:31:42 joerg Exp $
-
---- gettext-tools/config.h.in.orig 2006-02-14 15:40:12.000000000 +0100
-+++ gettext-tools/config.h.in
-@@ -1,5 +1,9 @@
- /* config.h.in. Generated from configure.ac by autoheader. */
-
-+#ifdef __NetBSD__
-+#include <sys/param.h>
-+#endif
-+
-
- /* Default value for alignment of strings in .mo file. */
- #define DEFAULT_OUTPUT_ALIGNMENT 1
-@@ -500,8 +504,12 @@
- /* Define to 1 if you have the `wcslen' function. */
- #undef HAVE_WCSLEN
-
-+#if !defined(__NetBSD__) || __NetBSD_Version__ >= 200000000
-+/* NetBSD before 2.0 doesn't provide wctype_t in wctype.h */
-+
- /* Define to 1 if you have the <wctype.h> header file. */
- #undef HAVE_WCTYPE_H
-+#endif
-
- /* Define to 1 if you have the `wcwidth' function. */
- #undef HAVE_WCWIDTH
diff --git a/devel/gettext-tools/patches/patch-ap b/devel/gettext-tools/patches/patch-ap
deleted file mode 100644
index f377700142e..00000000000
--- a/devel/gettext-tools/patches/patch-ap
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2006/07/06 13:10:27 markd Exp $
-
---- gettext-tools/lib/vasprintf.c.orig 2006-06-28 23:14:51.332244000 +1200
-+++ gettext-tools/lib/vasprintf.c
-@@ -40,7 +40,13 @@ int_vasprintf (char **result, const char
- /* Add one to make sure that it is never zero, which might cause malloc
- to return NULL. */
- size_t total_width = strlen (format) + 1;
-- va_list ap = *args;
-+ va_list ap;
-+
-+#ifdef va_copy
-+ va_copy (ap, *args);
-+#else
-+ ap = *args;
-+#endif
-
- while (*p != '\0')
- {
-@@ -109,6 +115,9 @@ int_vasprintf (char **result, const char
- p++;
- }
- }
-+#ifdef va_copy
-+ va_end (ap);
-+#endif
- #ifdef TEST
- global_total_width = total_width;
- #endif
diff --git a/devel/gettext-tools/patches/patch-aq b/devel/gettext-tools/patches/patch-aq
deleted file mode 100644
index ecdda22e085..00000000000
--- a/devel/gettext-tools/patches/patch-aq
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-aq,v 1.2 2007/03/12 23:59:47 rillig Exp $
-
-Don't call varargs macros with zero arguments, since that is not
-required by ISO C99 and only gcc can handle it.
-
-Fixed in gettext-tools-0.16.
-
---- gettext-tools/src/po-lex.h.orig 2005-05-20 23:03:44.000000000 +0200
-+++ gettext-tools/src/po-lex.h 2007-03-12 23:26:26.000000000 +0100
-@@ -73,7 +73,7 @@ extern void po_lex_pass_obsolete_entries
-
- /* ISO C 99 is smart enough to allow optimizations like this.
- Note: OpenVMS 7.3 cc pretends to support ISO C 99 but chokes on '...'. */
--#if __STDC__ && (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC)
-+#if 0
-
- /* CAUTION: If you change this macro, you must also make identical
- changes to the function of the same name in src/po-lex.c */
-@@ -109,7 +109,7 @@ extern void po_lex_pass_obsolete_entries
- } while (0)
-
- /* GCC is also smart enough to allow optimizations like this. */
--#elif __STDC__ && defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__
-+#elif 0
-
- /* CAUTION: If you change this macro, you must also make identical
- changes to the function of the same name in src/po-lex.c */
diff --git a/devel/gettext-tools/patches/patch-ar b/devel/gettext-tools/patches/patch-ar
deleted file mode 100644
index 87b9679cdf3..00000000000
--- a/devel/gettext-tools/patches/patch-ar
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ar,v 1.2 2007/03/12 23:59:47 rillig Exp $
-
-See patch-aq.
-
---- gettext-tools/src/po-lex.c.orig 2005-05-20 23:03:44.000000000 +0200
-+++ gettext-tools/src/po-lex.c 2007-03-12 23:26:10.000000000 +0100
-@@ -70,9 +70,7 @@ int gram_pos_column;
- /* Error handling during the parsing of a PO file.
- These functions can access gram_pos and gram_pos_column. */
-
--#if !(__STDC__ && \
-- ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \
-- || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))
-+#if 1
-
- /* CAUTION: If you change this function, you must also make identical
- changes to the macro of the same name in src/po-lex.h */
diff --git a/devel/gettext-tools/patches/patch-as b/devel/gettext-tools/patches/patch-as
deleted file mode 100644
index 602e4f6f727..00000000000
--- a/devel/gettext-tools/patches/patch-as
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-as,v 1.1 2010/02/05 11:18:12 obache Exp $
-
-Treat Haiku like BeOS
-
-http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=40d88197eef9efb44102f8fd6ce10141ca61fb3c
-
---- gettext-tools/lib/binary-io.h.orig 2005-05-20 21:03:41.000000000 +0000
-+++ gettext-tools/lib/binary-io.h
-@@ -31,8 +31,8 @@
- # define O_BINARY _O_BINARY
- # define O_TEXT _O_TEXT
- #endif
--#ifdef __BEOS__
-- /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
-+#if defined __BEOS__ || defined __HAIKU__
-+ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
- # undef O_BINARY
- # undef O_TEXT
- #endif
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile
index 936c23e9378..47ab81c1ea8 100644
--- a/devel/gettext/Makefile
+++ b/devel/gettext/Makefile
@@ -1,27 +1,20 @@
-# $NetBSD: Makefile,v 1.78 2010/10/27 15:43:55 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2011/04/12 17:41:28 adam Exp $
-DISTNAME= gettext-0.14.6
-PKGREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+.include "../../devel/gettext/Makefile.common"
-MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
COMMENT= Tools for providing messages in different languages
LICENSE= gnu-gpl-v2
-PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= gettext-m4-${PKGVERSION_NOREV}{,nb[0-9]*}:../../devel/gettext-m4
+DEPENDS+= gettext-tools-${PKGVERSION_NOREV}{,nb[0-9]*}:../../devel/gettext-tools
+BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.18
-DEPENDS+= gettext-m4-0.14.6{,nb[0-9]*}:../../devel/gettext-m4
-DEPENDS+= gettext-tools-0.14.6{,nb[0-9]*}:../../devel/gettext-tools
-BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5
-
-USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
-GNU_CONFIGURE= yes
SHLIBTOOL_OVERRIDE= # empty
-CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --disable-csharp
+CONFIGURE_ARGS+= --without-git
+CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ENV+= GCJ= ac_cv_prog_GCJ=
CONFIGURE_ENV+= HAVE_GCJ_IN_PATH=
CONFIGURE_ENV+= HAVE_JAVAC_IN_PATH=
@@ -36,7 +29,6 @@ USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
do-install:
cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS DESTDIR=${DESTDIR}
- cd ${WRKSRC}/gettext-tools/lib && ${MAKE} install-gettextsrcDATA DESTDIR=${DESTDIR}
cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install DESTDIR=${DESTDIR}
cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install DESTDIR=${DESTDIR}
cd ${WRKSRC}/gettext-tools/src && ${MAKE} install-tcl install-exec-local DESTDIR=${DESTDIR}
diff --git a/devel/gettext/Makefile.common b/devel/gettext/Makefile.common
new file mode 100644
index 00000000000..069fa752a6d
--- /dev/null
+++ b/devel/gettext/Makefile.common
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.common,v 1.1 2011/04/12 17:41:28 adam Exp $
+#
+# used by devel/gettext/Makefile
+# used by devel/gettext-asprintf/Makefile
+# used by devel/gettext-lib/Makefile
+# used by devel/gettext-m4/Makefile
+# used by devel/gettext-tools/Makefile
+
+DISTNAME= gettext-0.18.1.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+
+MAINTAINER?= joerg@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+LICENSE= gnu-gpl-v3
+
+CONFLICTS= gettext<=0.10.35
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
diff --git a/devel/gettext/PLIST b/devel/gettext/PLIST
index 25446bfdf83..a7753086718 100644
--- a/devel/gettext/PLIST
+++ b/devel/gettext/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2009/06/14 17:48:45 joerg Exp $
+@comment $NetBSD: PLIST,v 1.13 2011/04/12 17:41:28 adam Exp $
bin/autopoint
bin/gettextize
lib/gettext/hostname
@@ -8,9 +8,8 @@ lib/gettext/user-email
man/man1/autopoint.1
man/man1/gettextize.1
share/gettext/ABOUT-NLS
-share/gettext/archive.tar.gz
+share/gettext/archive.dir.tar.gz
share/gettext/config.rpath
-share/gettext/gettext.h
share/gettext/intl/COPYING.LIB-2.0
share/gettext/intl/COPYING.LIB-2.1
share/gettext/intl/ChangeLog
@@ -25,15 +24,19 @@ share/gettext/intl/dgettext.c
share/gettext/intl/dngettext.c
share/gettext/intl/eval-plural.h
share/gettext/intl/explodename.c
+share/gettext/intl/export.h
share/gettext/intl/finddomain.c
share/gettext/intl/gettext.c
share/gettext/intl/gettextP.h
share/gettext/intl/gmo.h
+share/gettext/intl/hash-string.c
share/gettext/intl/hash-string.h
share/gettext/intl/intl-compat.c
+share/gettext/intl/intl-exports.c
share/gettext/intl/l10nflist.c
share/gettext/intl/langprefs.c
share/gettext/intl/libgnuintl.h.in
+share/gettext/intl/libintl.rc
share/gettext/intl/loadinfo.h
share/gettext/intl/loadmsgcat.c
share/gettext/intl/localcharset.c
@@ -41,6 +44,8 @@ share/gettext/intl/localcharset.h
share/gettext/intl/locale.alias
share/gettext/intl/localealias.c
share/gettext/intl/localename.c
+share/gettext/intl/lock.c
+share/gettext/intl/lock.h
share/gettext/intl/log.c
share/gettext/intl/ngettext.c
share/gettext/intl/os2compat.c
@@ -59,13 +64,17 @@ share/gettext/intl/ref-add.sin
share/gettext/intl/ref-del.sin
share/gettext/intl/relocatable.c
share/gettext/intl/relocatable.h
+share/gettext/intl/setlocale.c
share/gettext/intl/textdomain.c
+share/gettext/intl/threadlib.c
+share/gettext/intl/tsearch.c
+share/gettext/intl/tsearch.h
share/gettext/intl/vasnprintf.c
share/gettext/intl/vasnprintf.h
share/gettext/intl/vasnwprintf.h
+share/gettext/intl/version.c
share/gettext/intl/wprintf-parse.h
share/gettext/intl/xsize.h
-share/gettext/mkinstalldirs
share/gettext/msgunfmt.tcl
share/gettext/po/Makefile.in.in
share/gettext/po/Makevars.template
diff --git a/devel/gettext/distinfo b/devel/gettext/distinfo
index e18616d552b..72a160a8c5d 100644
--- a/devel/gettext/distinfo
+++ b/devel/gettext/distinfo
@@ -1,18 +1,17 @@
-$NetBSD: distinfo,v 1.18 2006/07/26 06:53:02 adam Exp $
+$NetBSD: distinfo,v 1.19 2011/04/12 17:41:28 adam Exp $
-SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
-RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
-Size (gettext-0.14.6.tar.gz) = 7102365 bytes
-SHA1 (patch-aa) = da7ff06b28645b7c63ae9e49a29a8014f07dcec1
-SHA1 (patch-ab) = d13af25a5fbe3e4141b67bbeaeaf637482e78442
-SHA1 (patch-ad) = 53bf06d6073cd2ff4a09a688b1df3d294ef7ddb4
-SHA1 (patch-ae) = f2efed6024ef1aa3fb972c043e0900676659c766
-SHA1 (patch-ag) = 9a39ea58e8e8c10c747ab34fe198072c8663d6b0
-SHA1 (patch-ah) = b33e4c81a8046e4f45b927613af59a0d99a4d0bb
-SHA1 (patch-aj) = 5a28ee9299b5c0e7ba10621bf73b638cafdcfa7e
-SHA1 (patch-ak) = 3f2aa72291aae5e024a3bb833b46973221be3b95
-SHA1 (patch-al) = 2ed0cbf8e2e9a03ac3f8aaff447a07f578010472
-SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
-SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
-SHA1 (patch-ap) = c01087cbbac18051435a817bb028061e463bd923
-SHA1 (patch-aq) = fcdcbd1fd042f77c666245ca9c43ca21bf24e350
+SHA1 (gettext-0.18.1.1.tar.gz) = 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f
+RMD160 (gettext-0.18.1.1.tar.gz) = 0ca0b6bf0219440404a86f0c16cbac3d1a2ecd37
+Size (gettext-0.18.1.1.tar.gz) = 15139737 bytes
+SHA1 (patch-aa) = 198a771d64a3e3e0496e410d87f39cf895f16142
+SHA1 (patch-ab) = 042c66c8934d5b61b33c668c1befe2db5d507ecd
+SHA1 (patch-ad) = 100e262fa1aa4a1362404e7da527371bb6421728
+SHA1 (patch-ae) = ba5da7dfd502c5891ef20952afc5667137287f44
+SHA1 (patch-ag) = 2594cf5d3fd8c72e4fffe73c0e12406c9d893acc
+SHA1 (patch-ah) = 2cc427846d979b1e4e0bb38bc49a283af9cd32c3
+SHA1 (patch-aj) = 04ba988c371c98c0d42d613f15a895ab40b8a0f9
+SHA1 (patch-ak) = 669ae63baa07c860c047d6c7e390092f2f9d512b
+SHA1 (patch-al) = e0dcee0340fb9fdbd996be885548871ffb34dab2
+SHA1 (patch-am) = b0598906d2d37b5e20edf23123d8dd749dc23edb
+SHA1 (patch-an) = 2429e923e8172d2e6149cf22741e1e01657af19a
+SHA1 (patch-ao) = cd524bc7af4f6b514a7138b0830e901f90a785e0
diff --git a/devel/gettext/patches/patch-aa b/devel/gettext/patches/patch-aa
index 843f7ed9352..3bdb2380d66 100644
--- a/devel/gettext/patches/patch-aa
+++ b/devel/gettext/patches/patch-aa
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.11 2006/02/05 22:45:53 joerg Exp $
+$NetBSD: patch-aa,v 1.12 2011/04/12 17:41:28 adam Exp $
---- gettext-runtime/configure.orig 2006-02-03 14:56:53.000000000 +0000
+--- gettext-runtime/configure.orig 2010-06-06 20:11:32.000000000 +0000
+++ gettext-runtime/configure
-@@ -31906,10 +31906,6 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_l
+@@ -18205,10 +18205,6 @@ $as_echo "$ac_res" >&6; }
if test "$nls_cv_use_gnu_gettext" = "yes"; then
BUILD_INCLUDED_LIBINTL=yes
- USE_INCLUDED_LIBINTL=yes
-- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV"
-- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV"
+- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV $LIBTHREAD"
+- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV $LTLIBTHREAD"
- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi
diff --git a/devel/gettext/patches/patch-ab b/devel/gettext/patches/patch-ab
index 8d81c50c6eb..8c9dcf6ad3f 100644
--- a/devel/gettext/patches/patch-ab
+++ b/devel/gettext/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.7 2006/07/26 06:53:02 adam Exp $
+$NetBSD: patch-ab,v 1.8 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/misc/Makefile.in.orig 2006-06-21 14:30:05.000000000 +0200
+--- gettext-tools/misc/Makefile.in.orig 2010-06-06 20:12:31.000000000 +0000
+++ gettext-tools/misc/Makefile.in
-@@ -576,7 +576,7 @@ info: info-am
+@@ -1451,7 +1451,7 @@ info: info-am
info-am:
-install-data-am: install-gettextsrcDATA install-lispLISP
+install-data-am: install-gettextsrcDATA
- install-exec-am: install-binSCRIPTS
+ install-dvi: install-dvi-am
diff --git a/devel/gettext/patches/patch-ad b/devel/gettext/patches/patch-ad
index 9926fc7b453..d88faf77590 100644
--- a/devel/gettext/patches/patch-ad
+++ b/devel/gettext/patches/patch-ad
@@ -1,22 +1,23 @@
-$NetBSD: patch-ad,v 1.3 2006/02/05 22:45:53 joerg Exp $
+$NetBSD: patch-ad,v 1.4 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/Makefile.in.orig 2006-02-03 15:55:59.000000000 +0000
+--- gettext-tools/Makefile.in.orig 2010-06-06 20:12:33.000000000 +0000
+++ gettext-tools/Makefile.in
-@@ -348,7 +348,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+@@ -1248,7 +1248,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
- ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
--SUBDIRS = doc intl lib libgrep libuniname src po projects misc man m4 tests examples
-+SUBDIRS = doc intl lib libgrep libuniname src po man tests
- # vms_jackets.h is a header that comes with Compaq's "porting library".
- # KEEP_CRTL_SETLOCALE tells it to not override the native locale support.
- EXTRA_DIST = misc/DISCLAIM Makefile.vms config.h_vms README.woe32 \
-@@ -774,7 +774,7 @@ info: info-recursive
+ ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
+-SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests examples
++SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po man tests
+
+ # Allow users to use "gnulib-tool --update".
+
+@@ -1765,8 +1765,7 @@ info: info-recursive
info-am:
--install-data-am: install-gettextsrcSCRIPTS
+-install-data-am: install-examplesbuildauxDATA \
+- install-gettextsrcSCRIPTS
+install-data-am:
- install-exec-am:
+ install-dvi: install-dvi-recursive
diff --git a/devel/gettext/patches/patch-ae b/devel/gettext/patches/patch-ae
index 71bac2c941c..38638457f56 100644
--- a/devel/gettext/patches/patch-ae
+++ b/devel/gettext/patches/patch-ae
@@ -1,14 +1,14 @@
-$NetBSD: patch-ae,v 1.3 2006/02/05 22:45:53 joerg Exp $
+$NetBSD: patch-ae,v 1.4 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/configure.orig 2006-02-03 17:13:33.000000000 +0000
+--- gettext-tools/configure.orig 2010-06-06 20:12:20.000000000 +0000
+++ gettext-tools/configure
-@@ -39057,10 +39057,6 @@ echo "${ECHO_T}$gt_cv_func_gnugettext2_l
+@@ -20035,10 +20035,6 @@ $as_echo "$ac_res" >&6; }
if test "$nls_cv_use_gnu_gettext" = "yes"; then
BUILD_INCLUDED_LIBINTL=yes
- USE_INCLUDED_LIBINTL=yes
-- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV"
-- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV"
+- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV $LIBTHREAD"
+- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV $LTLIBTHREAD"
- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi
diff --git a/devel/gettext/patches/patch-ag b/devel/gettext/patches/patch-ag
index b05d8296e1e..be2794c4d65 100644
--- a/devel/gettext/patches/patch-ag
+++ b/devel/gettext/patches/patch-ag
@@ -1,47 +1,36 @@
-$NetBSD: patch-ag,v 1.7 2006/07/26 06:53:02 adam Exp $
+$NetBSD: patch-ag,v 1.8 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/lib/Makefile.in.orig 2006-06-21 14:30:05.000000000 +0200
-+++ gettext-tools/lib/Makefile.in
-@@ -453,7 +453,7 @@ libgettextlib_la_LIBADD = @LTLIBOBJS@
- # Need @LTLIBICONV@ because linebreak.c uses iconv().
- libgettextlib_la_LDFLAGS = \
- -release @VERSION@ \
-- @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
-+ @LTLIBINTL@ @LTLIBICONV@ -lc
-
-
- # Extra files to be installed.
-@@ -681,7 +681,7 @@ check: $(BUILT_SOURCES)
+--- gettext-tools/gnulib-lib/Makefile.in.orig 2010-06-06 20:12:29.000000000 +0000
++++ gettext-tools/gnulib-lib/Makefile.in
+@@ -3034,7 +3034,7 @@ check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
- all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
+ all-am: Makefile $(LTLIBRARIES) $(DATA) all-local
installdirs:
-- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(examplesbuildauxdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
+- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(gettextsrcdir)" "$(DESTDIR)$(pkgdatadir)"; do \
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
-@@ -733,7 +733,7 @@ info: info-am
+@@ -3100,7 +3100,7 @@ info: info-am
info-am:
--install-data-am: install-examplesbuildauxDATA install-gettextsrcDATA
+-install-data-am: install-gettextsrcDATA install-pkgdataDATA
+install-data-am:
- install-exec-am: install-exec-local install-libLTLIBRARIES
+ install-dvi: install-dvi-am
-@@ -779,15 +779,6 @@ uninstall-am: uninstall-examplesbuildaux
- uninstall-gettextsrcDATA uninstall-info-am \
- uninstall-libLTLIBRARIES uninstall-local
+@@ -3366,13 +3366,6 @@ getopt.h: getopt.in.h $(ARG_NONNULL_H)
+ } > $@-t && \
+ mv -f $@-t $@
--
-# No need to install libgettextlib.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
-install-exec-clean:
- case "@host_os@" in \
- aix*) ;; \
-- *) $(RM) $(DESTDIR)$(libdir)/libgettextlib.a ;; \
+- *) rm -f $(DESTDIR)$(libdir)/libgettextlib.a ;; \
- esac
--
- # The following is needed in order to create an <stdbool.h> when the system
- # doesn't have one that works.
- all-local $(libgettextlib_la_OBJECTS): @STDBOOL_H@
+ # This is a Makefile rule that generates multiple files at once; see the
+ # automake documentation, node "Multiple Outputs", for details.
+ html-ostream.h : $(top_srcdir)/../build-aux/moopp html-ostream.oo.h html-ostream.oo.c ostream.oo.h
diff --git a/devel/gettext/patches/patch-ah b/devel/gettext/patches/patch-ah
index 4d99992ee17..3455d36bd66 100644
--- a/devel/gettext/patches/patch-ah
+++ b/devel/gettext/patches/patch-ah
@@ -1,48 +1,18 @@
-$NetBSD: patch-ah,v 1.7 2006/07/26 06:53:02 adam Exp $
+$NetBSD: patch-ah,v 1.8 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/src/Makefile.in.orig 2006-06-21 18:53:45.000000000 +0200
+--- gettext-tools/src/Makefile.in.orig 2010-06-06 20:12:32.000000000 +0000
+++ gettext-tools/src/Makefile.in
-@@ -183,9 +183,7 @@ msggrep_DEPENDENCIES = $(am__DEPENDENCIE
- am_msginit_OBJECTS = msginit-msginit.$(OBJEXT) \
- msginit-plural-count.$(OBJEXT) msginit-localealias.$(OBJEXT)
- msginit_OBJECTS = $(am_msginit_OBJECTS)
--msginit_DEPENDENCIES = \
-- ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
-- libgettextsrc.la
-+msginit_DEPENDENCIES = libgettextsrc.la
- am_msgmerge_OBJECTS = msgmerge-msgmerge.$(OBJEXT) \
- msgmerge-plural-count.$(OBJEXT)
- msgmerge_OBJECTS = $(am_msgmerge_OBJECTS)
-@@ -591,7 +589,7 @@ urlget_SOURCES = urlget.c
- # use iconv().
- libgettextsrc_la_LDFLAGS = \
- -release @VERSION@ \
-- ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
-+ ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc
+@@ -2763,7 +2763,7 @@ install-dvi: install-dvi-am
-
- # How to build libgettextpo.la.
-@@ -622,8 +620,7 @@ msgen_LDADD = libgettextsrc.la @INTL_MAC
- msgexec_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
- msgfilter_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
- msggrep_LDADD = $(LIBGREP) libgettextsrc.la @INTL_MACOSX_LIBS@
--msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
-- libgettextsrc.la @INTL_MACOSX_LIBS@
-+msginit_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
-
- msguniq_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
-
-@@ -1348,7 +1345,7 @@ info-am:
-
- install-data-am: install-data-local install-includeHEADERS
+ install-dvi-am:
-install-exec-am: install-binPROGRAMS install-exec-local \
+install-exec-am: install-binPROGRAMS \
install-libLTLIBRARIES
- install-info: install-info-am
-@@ -1395,14 +1392,6 @@ uninstall-am: uninstall-binPROGRAMS unin
- uninstall-info-am uninstall-libLTLIBRARIES uninstall-local
+ install-html: install-html-am
+@@ -2827,14 +2827,6 @@ uninstall-am: uninstall-binPROGRAMS unin
+ uninstall-local
-# No need to install libgettextsrc.a, except on AIX.
@@ -56,18 +26,18 @@ $NetBSD: patch-ah,v 1.7 2006/07/26 06:53:02 adam Exp $
po-lex.o po-lex.lo: po-gram-gen2.h
po-gram-gen2.h: po-gram-gen.h
$(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' $(srcdir)/po-gram-gen.h > $@-tmp
-@@ -1506,12 +1495,12 @@ uninstall-csharp-yes: all-csharp-yes
+@@ -2938,12 +2930,12 @@ uninstall-csharp-yes: all-csharp-yes
$(RM) $(DESTDIR)$(pkglibdir)/msgunfmt.net.exe
uninstall-csharp-no:
-install-data-local: install-tcl
+install-data-local:
install-tcl:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ $(mkdir_p) $(DESTDIR)$(pkgdatadir)
$(INSTALL_DATA) $(srcdir)/msgunfmt.tcl $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
-installdirs-local: installdirs-tcl
+installdirs-local:
installdirs-tcl:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ $(mkdir_p) $(DESTDIR)$(pkgdatadir)
diff --git a/devel/gettext/patches/patch-aj b/devel/gettext/patches/patch-aj
index 9fb65a21da0..eac51a43963 100644
--- a/devel/gettext/patches/patch-aj
+++ b/devel/gettext/patches/patch-aj
@@ -1,22 +1,22 @@
-$NetBSD: patch-aj,v 1.4 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-aj,v 1.5 2011/04/12 17:41:28 adam Exp $
---- gettext-runtime/Makefile.in.orig 2006-02-03 14:42:03.000000000 +0000
+--- gettext-runtime/Makefile.in.orig 2010-06-06 20:11:38.000000000 +0000
+++ gettext-runtime/Makefile.in
-@@ -300,7 +300,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
- ACLOCAL_AMFLAGS = -I m4 -I ../gettext-tools/m4 -I ../autoconf-lib-link/m4 -I ../m4
--SUBDIRS = doc intl intl-java intl-csharp lib @SUBDIR_libasprintf@ src po man m4
-+SUBDIRS = doc lib src po man m4
- DIST_SUBDIRS = doc intl intl-java intl-csharp lib libasprintf src po man m4
- EXTRA_DIST = BUGS Makefile.vms config.h_vms README.woe32 Makefile.msvc \
- config.h.msvc windows/dllexport.h windows/intl.rc
-@@ -719,7 +719,7 @@ info: info-recursive
+@@ -943,7 +943,7 @@ ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnul
+ # The list of subdirectories depends on whether --disable-libasprintf was
+ # specified.
+ @ENABLE_LIBASPRINTF_TRUE@SUBDIR_libasprintf = libasprintf
+-SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po man m4 tests
++SUBDIRS = doc gnulib-lib src po man m4 tests
+
+ # Allow users to use "gnulib-tool --update".
+
+@@ -1410,7 +1410,7 @@ info: info-recursive
info-am:
-install-data-am: install-gettextsrcDATA
+install-data-am:
- install-exec-am:
+ install-dvi: install-dvi-recursive
diff --git a/devel/gettext/patches/patch-ak b/devel/gettext/patches/patch-ak
index c06f8876f93..4c1369df811 100644
--- a/devel/gettext/patches/patch-ak
+++ b/devel/gettext/patches/patch-ak
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.5 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-ak,v 1.6 2011/04/12 17:41:28 adam Exp $
---- gettext-runtime/intl/Makefile.in.orig 2006-02-04 19:34:01.000000000 +0000
+--- gettext-runtime/intl/Makefile.in.orig 2010-06-06 12:49:57.000000000 +0000
+++ gettext-runtime/intl/Makefile.in
-@@ -257,7 +257,7 @@ check: all
+@@ -379,7 +379,7 @@ check: all
# separate library.
# If you want to use the one which comes with this version of the
# package, you have to use `configure --with-included-gettext'.
diff --git a/devel/gettext/patches/patch-al b/devel/gettext/patches/patch-al
index 4a698ce2b19..d674cd2f513 100644
--- a/devel/gettext/patches/patch-al
+++ b/devel/gettext/patches/patch-al
@@ -1,22 +1,13 @@
-$NetBSD: patch-al,v 1.2 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-al,v 1.3 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/po/Makefile.in.in.orig 2006-02-04 20:52:36.000000000 +0000
+--- gettext-tools/po/Makefile.in.in.orig 2010-06-06 12:49:57.000000000 +0000
+++ gettext-tools/po/Makefile.in.in
-@@ -156,7 +156,7 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot
+@@ -207,7 +207,7 @@ $(POFILES): $(srcdir)/$(DOMAIN).pot
+ fi
- install: install-exec install-data
- install-exec:
--install-data: install-data-@USE_NLS@
-+install-data:
- if test "$(PACKAGE)" = "gettext-tools"; then \
- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
- for file in $(DISTFILES.common) Makevars.template; do \
-@@ -215,7 +215,7 @@ install-strip: install
- installdirs: installdirs-exec installdirs-data
- installdirs-exec:
--installdirs-data: installdirs-data-@USE_NLS@
-+installdirs-data:
+-install: install-exec install-data
++install: install-exec install-data-@USE_NLS@
+ install-exec:
+ install-data: install-data-@USE_NLS@
if test "$(PACKAGE)" = "gettext-tools"; then \
- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
- else \
diff --git a/devel/gettext/patches/patch-am b/devel/gettext/patches/patch-am
new file mode 100644
index 00000000000..e5098ac44e7
--- /dev/null
+++ b/devel/gettext/patches/patch-am
@@ -0,0 +1,14 @@
+$NetBSD: patch-am,v 1.3 2011/04/12 17:41:28 adam Exp $
+
+--- gettext-tools/man/Makefile.in.orig 2010-06-06 20:12:31.000000000 +0000
++++ gettext-tools/man/Makefile.in
+@@ -1185,8 +1185,7 @@ gettextize.x autopoint.x
+ man_MAN1OTHER = \
+ msgcmp.1 msgfmt.1 msgmerge.1 msgunfmt.1 xgettext.1 \
+ msgattrib.1 msgcat.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 msgfilter.1 msggrep.1 msginit.1 msguniq.1 \
+-recode-sr-latin.1 \
+-gettextize.1 autopoint.1
++recode-sr-latin.1
+
+ man_MAN1 = $(man_MAN1OTHER)
+ man_MANS = $(man_MAN1)
diff --git a/devel/gettext/patches/patch-an b/devel/gettext/patches/patch-an
index 4016e389ddd..5773ca36e66 100644
--- a/devel/gettext/patches/patch-an
+++ b/devel/gettext/patches/patch-an
@@ -1,12 +1,12 @@
-$NetBSD: patch-an,v 1.2 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-an,v 1.3 2011/04/12 17:41:28 adam Exp $
---- Makefile.in.orig 2006-02-04 21:41:03.000000000 +0000
+--- Makefile.in.orig 2010-06-06 20:12:52.000000000 +0000
+++ Makefile.in
-@@ -153,7 +153,7 @@ subdirs = @subdirs@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+@@ -211,7 +211,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
--SUBDIRS = autoconf-lib-link gettext-runtime gettext-tools
+ ACLOCAL_AMFLAGS = -I m4
+-SUBDIRS = gnulib-local gettext-runtime gettext-tools
+SUBDIRS = gettext-runtime gettext-tools
# DJGPP port.
diff --git a/devel/gettext/patches/patch-ao b/devel/gettext/patches/patch-ao
index 1810d00e19f..be8512ccb30 100644
--- a/devel/gettext/patches/patch-ao
+++ b/devel/gettext/patches/patch-ao
@@ -1,6 +1,6 @@
-$NetBSD: patch-ao,v 1.3 2006/02/14 22:31:42 joerg Exp $
+$NetBSD: patch-ao,v 1.4 2011/04/12 17:41:28 adam Exp $
---- gettext-tools/config.h.in.orig 2006-02-14 15:40:12.000000000 +0100
+--- gettext-tools/config.h.in.orig 2010-06-06 20:12:24.000000000 +0000
+++ gettext-tools/config.h.in
@@ -1,5 +1,9 @@
/* config.h.in. Generated from configure.ac by autoheader. */
@@ -12,9 +12,9 @@ $NetBSD: patch-ao,v 1.3 2006/02/14 22:31:42 joerg Exp $
/* Default value for alignment of strings in .mo file. */
#define DEFAULT_OUTPUT_ALIGNMENT 1
-@@ -500,8 +504,12 @@
- /* Define to 1 if you have the `wcslen' function. */
- #undef HAVE_WCSLEN
+@@ -1717,8 +1721,12 @@
+ /* Define to 1 if you have the `wctob' function. */
+ #undef HAVE_WCTOB
+#if !defined(__NetBSD__) || __NetBSD_Version__ >= 200000000
+/* NetBSD before 2.0 doesn't provide wctype_t in wctype.h */
diff --git a/devel/gettext/patches/patch-ap b/devel/gettext/patches/patch-ap
deleted file mode 100644
index f35f7241b26..00000000000
--- a/devel/gettext/patches/patch-ap
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ap,v 1.4 2006/02/21 20:04:03 jschauma Exp $
-
---- gettext-tools/src/po-lex.c.orig 2005-05-20 16:43:18.000000000 -0400
-+++ gettext-tools/src/po-lex.c 2006-02-21 15:00:22.000000000 -0500
-@@ -70,7 +70,7 @@
- /* Error handling during the parsing of a PO file.
- These functions can access gram_pos and gram_pos_column. */
-
--#if !(__STDC__ && \
-+#if !defined __sgi && !(__STDC__ && \
- ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \
- || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))
-
diff --git a/devel/gettext/patches/patch-aq b/devel/gettext/patches/patch-aq
deleted file mode 100644
index 8bd2a7db699..00000000000
--- a/devel/gettext/patches/patch-aq
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aq,v 1.2 2006/02/21 20:04:03 jschauma Exp $
-
---- gettext-tools/src/po-lex.h.orig 2005-05-20 16:43:21.000000000 -0400
-+++ gettext-tools/src/po-lex.h 2006-02-21 15:01:02.000000000 -0500
-@@ -109,7 +109,8 @@
- } while (0)
-
- /* GCC is also smart enough to allow optimizations like this. */
--#elif __STDC__ && defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__
-+#elif __STDC__ && defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__ \
-+ && !defined __sgi
-
- /* CAUTION: If you change this macro, you must also make identical
- changes to the function of the same name in src/po-lex.c */