[Midnightbsd-cvs] mports [17903] trunk: update gettext

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 21 11:34:24 EST 2014


Revision: 17903
          http://svnweb.midnightbsd.org/mports/?rev=17903
Author:   laffer1
Date:     2014-12-21 11:34:23 -0500 (Sun, 21 Dec 2014)
Log Message:
-----------
update gettext

Modified Paths:
--------------
    trunk/Mk/extensions/gettext.mk
    trunk/devel/gettext/Makefile
    trunk/devel/gettext/distinfo
    trunk/devel/gettext/pkg-descr

Added Paths:
-----------
    trunk/Mk/extensions/gettext-runtime.mk
    trunk/Mk/extensions/gettext-tools.mk
    trunk/devel/gettext-runtime/
    trunk/devel/gettext-runtime/Makefile
    trunk/devel/gettext-runtime/files/
    trunk/devel/gettext-runtime/files/patch-configure
    trunk/devel/gettext-runtime/files/patch-intl-threadlib.c
    trunk/devel/gettext-runtime/pkg-descr
    trunk/devel/gettext-runtime/pkg-plist
    trunk/devel/gettext-tools/
    trunk/devel/gettext-tools/Makefile
    trunk/devel/gettext-tools/distinfo
    trunk/devel/gettext-tools/files/
    trunk/devel/gettext-tools/files/patch-configure
    trunk/devel/gettext-tools/files/patch-gnulib-lib_glthread_threadlib.c
    trunk/devel/gettext-tools/files/patch-libgettextpo_glthread_threadlib.c
    trunk/devel/gettext-tools/pkg-descr
    trunk/devel/gettext-tools/pkg-plist

Removed Paths:
-------------
    trunk/devel/gettext/files/
    trunk/devel/gettext/pkg-plist

Added: trunk/Mk/extensions/gettext-runtime.mk
===================================================================
--- trunk/Mk/extensions/gettext-runtime.mk	                        (rev 0)
+++ trunk/Mk/extensions/gettext-runtime.mk	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,26 @@
+# $MidnightBSD$
+#
+# Handle dependency on the gettext-runtime (libintl) port
+#
+# Feature:	gettext-runtime
+# Usage:	USES=gettext-runtime or USES=gettext-runtime:ARGS
+# Valid ARGS:	lib (default), build, run
+
+.if !defined(_INCLUDE_USES_GETTEXT_RUNTIME_MK)
+_INCLUDE_USES_GETTEXT_RUNTIME_MK=	yes
+
+.if empty(gettext-runtime_ARGS)
+gettext-runtime_ARGS=	lib
+.endif
+
+.if ${gettext-runtime_ARGS:Mlib}
+LIB_DEPENDS+=	libintl.so:${PORTSDIR}/devel/gettext-runtime
+.endif
+.if ${gettext-runtime_ARGS:Mbuild}
+BUILD_DEPENDS+=	gettext:${PORTSDIR}/devel/gettext-runtime
+.endif
+.if ${gettext-runtime_ARGS:Mrun}
+RUN_DEPENDS+=	gettext:${PORTSDIR}/devel/gettext-runtime
+.endif
+
+.endif


Property changes on: trunk/Mk/extensions/gettext-runtime.mk
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Mk/extensions/gettext-tools.mk
===================================================================
--- trunk/Mk/extensions/gettext-tools.mk	                        (rev 0)
+++ trunk/Mk/extensions/gettext-tools.mk	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+#
+# Handle dependency on the gettext-tools port
+#
+# Feature:	gettext-tools
+# Usage:	USES=gettext-tools or USES=gettext-tools:ARGS
+# Valid ARGS:	build (default), run
+
+.if !defined(_INCLUDE_USES_GETTEXT_TOOLS_MK)
+_INCLUDE_USES_GETTEXT_TOOLS_MK=	yes
+
+.if empty(gettext-tools_ARGS)
+gettext-tools_ARGS=	build
+.endif
+
+.if ${gettext-tools_ARGS:Mbuild}
+BUILD_DEPENDS+=	msgfmt:${PORTSDIR}/devel/gettext-tools
+.endif
+.if ${gettext-tools_ARGS:Mrun}
+RUN_DEPENDS+=	msgfmt:${PORTSDIR}/devel/gettext-tools
+.endif
+
+.endif


Property changes on: trunk/Mk/extensions/gettext-tools.mk
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Mk/extensions/gettext.mk
===================================================================
--- trunk/Mk/extensions/gettext.mk	2014-12-21 16:27:39 UTC (rev 17902)
+++ trunk/Mk/extensions/gettext.mk	2014-12-21 16:34:23 UTC (rev 17903)
@@ -1,29 +1,19 @@
 # $MidnightBSD$
 #
-# handle dependency on the gettext (libintl) port
+# Sets a library dependency on gettext-runtime and a build dependency
+# on gettext-tools.  Same as "USES=gettext-runtime gettext-tools".
 #
 # Feature:	gettext
-# Usage:	USES=gettext or USES=gettext:ARGS
-# Valid ARGS:	build, run, lib (default, implicit)
-#
-#
+# Usage:	USES=gettext
+
 .if !defined(_INCLUDE_USES_GETTEXT_MK)
 _INCLUDE_USES_GETTEXT_MK=	yes
 
-_GETTEXT_DEPENDS=	xgettext:${PORTSDIR}/devel/gettext
-
-.if !defined(gettext_ARGS)
-gettext_ARGS=	lib
+.if !empty(gettext_ARGS)
+IGNORE=		USES=gettext does not take arguments
 .endif
 
-.if ${gettext_ARGS} == "build"
-BUILD_DEPENDS+=	${_GETTEXT_DEPENDS}
-.elif ${gettext_ARGS} == "run"
-RUN_DEPENDS+=	${_GETTEXT_DEPENDS}
-.elif ${gettext_ARGS} == "lib"
-LIB_DEPENDS+=	intl:${PORTSDIR}/devel/gettext
-.else
-IGNORE=	USES=gettext - invalid args: [${gettext_ARGS}] specifed
-.endif
+.include "${MPORTEXTENSIONS}/gettext-runtime.mk"
+.include "${MPORTEXTENSIONS}/gettext-tools.mk"
 
 .endif

Modified: trunk/devel/gettext/Makefile
===================================================================
--- trunk/devel/gettext/Makefile	2014-12-21 16:27:39 UTC (rev 17902)
+++ trunk/devel/gettext/Makefile	2014-12-21 16:34:23 UTC (rev 17903)
@@ -1,47 +1,16 @@
 # $MidnightBSD$
 
 PORTNAME=	gettext
-PORTVERSION=	0.18.3.1
-PORTREVISION=	6
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=	gettext
+PORTREVISION=	0
+DISTFILES=
 
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	GNU gettext package
+COMMENT=	GNU gettext meta package
 
-LICENSE=	gpl3
+.include "${.CURDIR}/../gettext/Makefile.common"
 
-USES=		charsetfix iconv libtool:oldver
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-csharp --disable-java \
-		--disable-openmp --disable-threads \
-		--with-included-gettext --with-included-glib \
-		--with-included-libcroco --with-included-libunistring \
-		--with-included-libxml ${ICONV_CONFIGURE_ARG} \
-		--without-emacs --without-git
-USE_LDCONFIG=	yes
+USES=		gettext-runtime:run gettext-tools:run
 
-INFO=		autosprintf gettext
+NO_BUILD=	yes
+NO_INSTALL=	yes
 
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.mport.options.mk>
-
-.if ! ${PORT_OPTIONS:MDOCS}
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-nodocs
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MDOCS}
-.for dir in runtime tools
-	@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \
-		${WRKSRC}/gettext-${dir}/Makefile.in
-.endfor
-.endif
-
-post-install:
-	@${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/gettext-tools/doc \
-		${MAKE_ARGS} install-info-am
-
 .include <bsd.port.mk>

Modified: trunk/devel/gettext/distinfo
===================================================================
--- trunk/devel/gettext/distinfo	2014-12-21 16:27:39 UTC (rev 17902)
+++ trunk/devel/gettext/distinfo	2014-12-21 16:34:23 UTC (rev 17903)
@@ -1,2 +1,2 @@
-SHA256 (gettext-0.18.3.1.tar.gz) = 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
-SIZE (gettext-0.18.3.1.tar.gz) = 16341773
+SHA256 (gettext-0.19.3.tar.xz) = f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46
+SIZE (gettext-0.19.3.tar.xz) = 6628460

Modified: trunk/devel/gettext/pkg-descr
===================================================================
--- trunk/devel/gettext/pkg-descr	2014-12-21 16:27:39 UTC (rev 17902)
+++ trunk/devel/gettext/pkg-descr	2014-12-21 16:34:23 UTC (rev 17903)
@@ -1,7 +1,4 @@
-This is the GNU gettext package.  It is interesting for authors or
-maintainers of other packages or programs which they want to see
-internationalized.  As one step the handling of messages in different
-languages should be implemented.  For this task GNU gettext provides
-the needed tools and library functions.
+GNU gettext is a framework of libraries and tools for internationalisation 
+and localisation of software.
 
 WWW: http://www.gnu.org/software/gettext/

Deleted: trunk/devel/gettext/pkg-plist
===================================================================
--- trunk/devel/gettext/pkg-plist	2014-12-21 16:27:39 UTC (rev 17902)
+++ trunk/devel/gettext/pkg-plist	2014-12-21 16:34:23 UTC (rev 17903)
@@ -1,370 +0,0 @@
-bin/autopoint
-bin/envsubst
-bin/gettext
-bin/gettext.sh
-bin/gettextize
-bin/msgattrib
-bin/msgcat
-bin/msgcmp
-bin/msgcomm
-bin/msgconv
-bin/msgen
-bin/msgexec
-bin/msgfilter
-bin/msgfmt
-bin/msggrep
-bin/msginit
-bin/msgmerge
-bin/msgunfmt
-bin/msguniq
-bin/ngettext
-bin/recode-sr-latin
-bin/xgettext
-include/autosprintf.h
-include/gettext-po.h
-include/libintl.h
- at exec /bin/mkdir -p %D/lib/gettext
-lib/libasprintf.a
-lib/libasprintf.la
-lib/libasprintf.so
-lib/libasprintf.so.0
-lib/libgettextlib-0.18.3.so
-lib/libgettextlib.la
-lib/libgettextlib.so
-lib/libgettextpo.a
-lib/libgettextpo.la
-lib/libgettextpo.so
-lib/libgettextpo.so.5
-lib/libgettextsrc.la
-lib/libgettextsrc-0.18.3.so
-lib/libgettextsrc.so
-lib/libintl.a
-lib/libintl.la
-lib/libintl.so
-lib/libintl.so.9
-lib/gettext/hostname
-lib/gettext/project-id
-lib/gettext/urlget
-lib/gettext/user-email
-man/man1/autopoint.1.gz
-man/man1/envsubst.1.gz
-man/man1/gettext.1.gz
-man/man1/gettextize.1.gz
-man/man1/msgattrib.1.gz
-man/man1/msgcat.1.gz
-man/man1/msgcmp.1.gz
-man/man1/msgcomm.1.gz
-man/man1/msgconv.1.gz
-man/man1/msgen.1.gz
-man/man1/msgexec.1.gz
-man/man1/msgfilter.1.gz
-man/man1/msgfmt.1.gz
-man/man1/msggrep.1.gz
-man/man1/msginit.1.gz
-man/man1/msgmerge.1.gz
-man/man1/msgunfmt.1.gz
-man/man1/msguniq.1.gz
-man/man1/ngettext.1.gz
-man/man1/recode-sr-latin.1.gz
-man/man1/xgettext.1.gz
-man/man3/bind_textdomain_codeset.3.gz
-man/man3/bindtextdomain.3.gz
-man/man3/dcgettext.3.gz
-man/man3/dcngettext.3.gz
-man/man3/dgettext.3.gz
-man/man3/dngettext.3.gz
-man/man3/gettext.3.gz
-man/man3/ngettext.3.gz
-man/man3/textdomain.3.gz
-share/aclocal/codeset.m4
-share/aclocal/gettext.m4
-share/aclocal/fcntl-o.m4
-share/aclocal/glibc2.m4
-share/aclocal/glibc21.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_h.m4
-share/aclocal/lcmessage.m4
-share/aclocal/lib-ld.m4
-share/aclocal/lib-link.m4
-share/aclocal/lib-prefix.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/size_max.m4
-share/aclocal/stdint_h.m4
-share/aclocal/threadlib.m4
-share/aclocal/uintmax_t.m4
-share/aclocal/visibility.m4
-share/aclocal/wchar_t.m4
-share/aclocal/wint_t.m4
-share/aclocal/xsize.m4
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/GNU_Gettext.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/GNU_Gettext_GettextResourceManager.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/GNU_Gettext_GettextResourceSet.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/begin.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/index.html
-%%PORTDOCS%%%%DOCSDIR%%/csharpdoc/namespaces.html
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/csharpcomp.m4
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/csharpcomp.sh.in
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/csharpexec.m4
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/csharpexec.sh.in
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/csharpexec-test.exe
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/gcj.m4
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/javacomp.m4
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/javacomp.sh.in
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/javaexec.m4
-%%PORTDOCS%%%%DOCSDIR%%/examples/build-aux/javaexec.sh.in
-%%PORTDOCS%%%%DOCSDIR%%/gettext_1.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_2.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_3.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_4.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_5.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_6.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_7.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_8.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_9.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_10.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_11.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_12.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_13.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_14.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_15.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_16.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_17.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_18.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_19.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_20.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_21.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_22.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_23.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_24.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_25.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_foot.html
-%%PORTDOCS%%%%DOCSDIR%%/gettext_toc.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/allclasses-frame.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/deprecated-list.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/gnu/gettext/GettextResource.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/gnu/gettext/package-frame.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/gnu/gettext/package-summary.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/gnu/gettext/package-tree.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/help-doc.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/index-all.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/index.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/overview-tree.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/package-list
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/packages.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/serialized-form.html
-%%PORTDOCS%%%%DOCSDIR%%/javadoc2/stylesheet.css
-%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
-%%PORTDOCS%%share/doc/libasprintf/autosprintf_all.html
-%%DATADIR%%/ABOUT-NLS
-%%DATADIR%%/archive.dir.tar.xz
-%%DATADIR%%/config.rpath
-%%DATADIR%%/gettext.h
-%%DATADIR%%/intl/COPYING.LIB
-%%DATADIR%%/intl/ChangeLog
-%%DATADIR%%/intl/Makefile.in
-%%DATADIR%%/intl/VERSION
-%%DATADIR%%/intl/bindtextdom.c
-%%DATADIR%%/intl/config.charset
-%%DATADIR%%/intl/dcgettext.c
-%%DATADIR%%/intl/dcigettext.c
-%%DATADIR%%/intl/dcngettext.c
-%%DATADIR%%/intl/dgettext.c
-%%DATADIR%%/intl/dngettext.c
-%%DATADIR%%/intl/eval-plural.h
-%%DATADIR%%/intl/explodename.c
-%%DATADIR%%/intl/export.h
-%%DATADIR%%/intl/finddomain.c
-%%DATADIR%%/intl/gettext.c
-%%DATADIR%%/intl/gettextP.h
-%%DATADIR%%/intl/gmo.h
-%%DATADIR%%/intl/hash-string.c
-%%DATADIR%%/intl/hash-string.h
-%%DATADIR%%/intl/intl-compat.c
-%%DATADIR%%/intl/intl-exports.c
-%%DATADIR%%/intl/l10nflist.c
-%%DATADIR%%/intl/langprefs.c
-%%DATADIR%%/intl/libgnuintl.in.h
-%%DATADIR%%/intl/libintl.rc
-%%DATADIR%%/intl/loadinfo.h
-%%DATADIR%%/intl/loadmsgcat.c
-%%DATADIR%%/intl/localcharset.c
-%%DATADIR%%/intl/localcharset.h
-%%DATADIR%%/intl/locale.alias
-%%DATADIR%%/intl/localealias.c
-%%DATADIR%%/intl/localename.c
-%%DATADIR%%/intl/lock.c
-%%DATADIR%%/intl/lock.h
-%%DATADIR%%/intl/log.c
-%%DATADIR%%/intl/ngettext.c
-%%DATADIR%%/intl/os2compat.c
-%%DATADIR%%/intl/os2compat.h
-%%DATADIR%%/intl/osdep.c
-%%DATADIR%%/intl/plural-exp.c
-%%DATADIR%%/intl/plural-exp.h
-%%DATADIR%%/intl/plural.c
-%%DATADIR%%/intl/plural.y
-%%DATADIR%%/intl/printf-args.c
-%%DATADIR%%/intl/printf-args.h
-%%DATADIR%%/intl/printf-parse.c
-%%DATADIR%%/intl/printf-parse.h
-%%DATADIR%%/intl/printf.c
-%%DATADIR%%/intl/ref-add.sin
-%%DATADIR%%/intl/ref-del.sin
-%%DATADIR%%/intl/relocatable.c
-%%DATADIR%%/intl/relocatable.h
-%%DATADIR%%/intl/setlocale.c
-%%DATADIR%%/intl/textdomain.c
-%%DATADIR%%/intl/threadlib.c
-%%DATADIR%%/intl/tsearch.c
-%%DATADIR%%/intl/tsearch.h
-%%DATADIR%%/intl/vasnprintf.c
-%%DATADIR%%/intl/vasnprintf.h
-%%DATADIR%%/intl/vasnwprintf.h
-%%DATADIR%%/intl/verify.h
-%%DATADIR%%/intl/version.c
-%%DATADIR%%/intl/wprintf-parse.h
-%%DATADIR%%/intl/xsize.c
-%%DATADIR%%/intl/xsize.h
-%%DATADIR%%/javaversion.class
-%%DATADIR%%/msgunfmt.tcl
-%%DATADIR%%/po/Makefile.in.in
-%%DATADIR%%/po/Makevars.template
-%%DATADIR%%/po/Rules-quot
-%%DATADIR%%/po/boldquot.sed
-%%DATADIR%%/po/en at boldquot.header
-%%DATADIR%%/po/en at quot.header
-%%DATADIR%%/po/insert-header.sin
-%%DATADIR%%/po/quot.sed
-%%DATADIR%%/po/remove-potcdate.sin
-%%DATADIR%%/projects/GNOME/team-address
-%%DATADIR%%/projects/GNOME/teams.html
-%%DATADIR%%/projects/GNOME/teams.url
-%%DATADIR%%/projects/GNOME/trigger
-%%DATADIR%%/projects/KDE/team-address
-%%DATADIR%%/projects/KDE/teams.html
-%%DATADIR%%/projects/KDE/teams.url
-%%DATADIR%%/projects/KDE/trigger
-%%DATADIR%%/projects/TP/team-address
-%%DATADIR%%/projects/TP/teams.html
-%%DATADIR%%/projects/TP/teams.url
-%%DATADIR%%/projects/TP/trigger
-%%DATADIR%%/projects/index
-%%DATADIR%%/projects/team-address
-%%DATADIR%%/styles/po-default.css
-%%DATADIR%%/styles/po-emacs-x.css
-%%DATADIR%%/styles/po-emacs-xterm.css
-%%DATADIR%%/styles/po-emacs-xterm16.css
-%%DATADIR%%/styles/po-emacs-xterm256.css
-%%DATADIR%%/styles/po-vim.css
-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
-share/locale/cs/LC_MESSAGES/gettext-tools.mo
-share/locale/da/LC_MESSAGES/gettext-runtime.mo
-share/locale/da/LC_MESSAGES/gettext-tools.mo
-share/locale/de/LC_MESSAGES/gettext-runtime.mo
-share/locale/de/LC_MESSAGES/gettext-tools.mo
-share/locale/el/LC_MESSAGES/gettext-runtime.mo
-share/locale/el/LC_MESSAGES/gettext-tools.mo
-share/locale/en at boldquot/LC_MESSAGES/gettext-runtime.mo
-share/locale/en at boldquot/LC_MESSAGES/gettext-tools.mo
-share/locale/en at quot/LC_MESSAGES/gettext-runtime.mo
-share/locale/en at 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
-share/locale/fr/LC_MESSAGES/gettext-tools.mo
-share/locale/ga/LC_MESSAGES/gettext-runtime.mo
-share/locale/gl/LC_MESSAGES/gettext-runtime.mo
-share/locale/gl/LC_MESSAGES/gettext-tools.mo
-share/locale/hr/LC_MESSAGES/gettext-runtime.mo
-share/locale/id/LC_MESSAGES/gettext-runtime.mo
-share/locale/id/LC_MESSAGES/gettext-tools.mo
-share/locale/it/LC_MESSAGES/gettext-runtime.mo
-share/locale/it/LC_MESSAGES/gettext-tools.mo
-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/locale.alias
-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/pa/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
-share/locale/pt/LC_MESSAGES/gettext-tools.mo
-share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
-share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo
-share/locale/ro/LC_MESSAGES/gettext-runtime.mo
-share/locale/ro/LC_MESSAGES/gettext-tools.mo
-share/locale/ru/LC_MESSAGES/gettext-runtime.mo
-share/locale/ru/LC_MESSAGES/gettext-tools.mo
-share/locale/sk/LC_MESSAGES/gettext-runtime.mo
-share/locale/sk/LC_MESSAGES/gettext-tools.mo
-share/locale/sl/LC_MESSAGES/gettext-runtime.mo
-share/locale/sl/LC_MESSAGES/gettext-tools.mo
-share/locale/sr/LC_MESSAGES/gettext-runtime.mo
-share/locale/sr/LC_MESSAGES/gettext-tools.mo
-share/locale/sv/LC_MESSAGES/gettext-runtime.mo
-share/locale/sv/LC_MESSAGES/gettext-tools.mo
-share/locale/tr/LC_MESSAGES/gettext-runtime.mo
-share/locale/tr/LC_MESSAGES/gettext-tools.mo
-share/locale/uk/LC_MESSAGES/gettext-runtime.mo
-share/locale/uk/LC_MESSAGES/gettext-tools.mo
-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
- at dirrm %%DATADIR%%/styles
- at dirrm %%DATADIR%%/projects/TP
- at dirrm %%DATADIR%%/projects/KDE
- at dirrm %%DATADIR%%/projects/GNOME
- at dirrm %%DATADIR%%/projects
- at dirrm %%DATADIR%%/po
- at dirrm %%DATADIR%%/intl
- at dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm share/doc/libasprintf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/javadoc2/gnu/gettext
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/javadoc2/gnu
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/javadoc2
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/build-aux
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/csharpdoc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm lib/gettext
- at dirrmtry share/locale/en at boldquot/LC_MESSAGES
- at dirrmtry share/locale/en at quot/LC_MESSAGES
- at dirrmtry share/locale/zh_HK/LC_MESSAGES
- at dirrmtry share/locale/en at boldquot
- at dirrmtry share/locale/en at quot
- at dirrmtry share/locale/zh_HK

Added: trunk/devel/gettext-runtime/Makefile
===================================================================
--- trunk/devel/gettext-runtime/Makefile	                        (rev 0)
+++ trunk/devel/gettext-runtime/Makefile	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,46 @@
+# $MidnightBSD$
+
+PORTNAME=	gettext-runtime
+PORTREVISION=	0
+
+COMMENT=	GNU gettext runtime libraries and programs
+
+LICENSE=	lgpl2.1 gpl3
+LICENSE_COMB=	multi
+LICENSE_FILE_LGPL21=	${WRKSRC}/intl/COPYING.LIB
+LICENSE_FILE_GPLv3=	${WRKSRC}/../COPYING
+
+.include "${.CURDIR}/../gettext/Makefile.common"
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-csharp --disable-java --with-included-gettext \
+		ac_cv_lib_rt_sched_yield=no
+INSTALL_TARGET=	install-strip
+USES=		charsetfix iconv libtool tar:xz
+USE_LDCONFIG=	yes
+WRKSRC= ${WRKDIR}/gettext-${PORTVERSION}/gettext-runtime
+
+INFO=		autosprintf
+
+.include <bsd.mport.options.mk>
+
+CONFIGURE_ARGS+=--disable-threads
+
+post-patch:
+# Do not install csharp and java documentation.
+	@${REINPLACE_CMD} -E '/^SUBDIRS =/s/(intl-csharp|intl-java)//g' \
+		${WRKSRC}/Makefile.in
+# Do not install html copies of manpages.
+	@${REINPLACE_CMD} \
+		-e '/^all-local:/s/html-local//' \
+		-e '/^install-data-local:/s/install-html//' \
+		-e '/^installdirs-local:/s/installdirs-html//' \
+		${WRKSRC}/libasprintf/Makefile.in ${WRKSRC}/man/Makefile.in
+
+#post-install:
+#	${LN} -s libintl.so.8 ${STAGEDIR}${PREFIX}/lib/libintl.so.9
+
+regression-test: build
+	@(cd ${WRKSRC} && ${MAKE_CMD} check)
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/gettext-runtime/Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-runtime/files/patch-configure
===================================================================
--- trunk/devel/gettext-runtime/files/patch-configure	                        (rev 0)
+++ trunk/devel/gettext-runtime/files/patch-configure	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,11 @@
+--- configure.orig	2014-07-14 07:30:12 UTC
++++ configure
+@@ -16277,7 +16277,7 @@
+              # thread: pthread_create from libc will fail, whereas
+              # pthread_create will actually create a thread.
+              case "$host_os" in
+-               solaris* | hpux*)
++               solaris* | hpux* | freebsd*)
+ 
+ $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
+ 


Property changes on: trunk/devel/gettext-runtime/files/patch-configure
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-runtime/files/patch-intl-threadlib.c
===================================================================
--- trunk/devel/gettext-runtime/files/patch-intl-threadlib.c	                        (rev 0)
+++ trunk/devel/gettext-runtime/files/patch-intl-threadlib.c	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,39 @@
+--- intl/threadlib.c.orig	2013-03-07 08:44:37 UTC
++++ intl/threadlib.c
+@@ -29,11 +29,10 @@
+ 
+ # if PTHREAD_IN_USE_DETECTION_HARD
+ 
+-/* The function to be executed by a dummy thread.  */
+-static void *
+-dummy_thread_func (void *arg)
++static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
++static void
++dummy_once_func (void)
+ {
+-  return arg;
+ }
+ 
+ int
+@@ -44,19 +43,10 @@ glthread_in_use (void)
+ 
+   if (!tested)
+     {
+-      pthread_t thread;
+-
+-      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
+-        /* Thread creation failed.  */
++      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
+         result = 0;
+       else
+-        {
+-          /* Thread creation works.  */
+-          void *retval;
+-          if (pthread_join (thread, &retval) != 0)
+-            abort ();
+-          result = 1;
+-        }
++        result = 1;
+       tested = 1;
+     }
+   return result;


Property changes on: trunk/devel/gettext-runtime/files/patch-intl-threadlib.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-runtime/pkg-descr
===================================================================
--- trunk/devel/gettext-runtime/pkg-descr	                        (rev 0)
+++ trunk/devel/gettext-runtime/pkg-descr	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,6 @@
+GNU gettext is a framework of libraries and tools for internationalisation
+and localisation of software.
+
+This package contains the runtime libraries and programs.
+
+WWW: http://www.gnu.org/software/gettext/


Property changes on: trunk/devel/gettext-runtime/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-runtime/pkg-plist
===================================================================
--- trunk/devel/gettext-runtime/pkg-plist	                        (rev 0)
+++ trunk/devel/gettext-runtime/pkg-plist	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,66 @@
+bin/envsubst
+bin/gettext
+bin/gettext.sh
+bin/ngettext
+include/autosprintf.h
+include/libintl.h
+lib/libasprintf.a
+lib/libasprintf.so
+lib/libasprintf.so.0
+lib/libintl.a
+lib/libintl.so
+lib/libintl.so.9
+man/man1/envsubst.1.gz
+man/man1/gettext.1.gz
+man/man1/ngettext.1.gz
+man/man3/bind_textdomain_codeset.3.gz
+man/man3/bindtextdomain.3.gz
+man/man3/dcgettext.3.gz
+man/man3/dcngettext.3.gz
+man/man3/dgettext.3.gz
+man/man3/dngettext.3.gz
+man/man3/gettext.3.gz
+man/man3/ngettext.3.gz
+man/man3/textdomain.3.gz
+%%DATADIR%%/ABOUT-NLS
+share/locale/be/LC_MESSAGES/gettext-runtime.mo
+share/locale/bg/LC_MESSAGES/gettext-runtime.mo
+share/locale/ca/LC_MESSAGES/gettext-runtime.mo
+share/locale/cs/LC_MESSAGES/gettext-runtime.mo
+share/locale/da/LC_MESSAGES/gettext-runtime.mo
+share/locale/de/LC_MESSAGES/gettext-runtime.mo
+share/locale/el/LC_MESSAGES/gettext-runtime.mo
+share/locale/en at boldquot/LC_MESSAGES/gettext-runtime.mo
+share/locale/en at quot/LC_MESSAGES/gettext-runtime.mo
+share/locale/eo/LC_MESSAGES/gettext-runtime.mo
+share/locale/es/LC_MESSAGES/gettext-runtime.mo
+share/locale/et/LC_MESSAGES/gettext-runtime.mo
+share/locale/fi/LC_MESSAGES/gettext-runtime.mo
+share/locale/fr/LC_MESSAGES/gettext-runtime.mo
+share/locale/ga/LC_MESSAGES/gettext-runtime.mo
+share/locale/gl/LC_MESSAGES/gettext-runtime.mo
+share/locale/hr/LC_MESSAGES/gettext-runtime.mo
+share/locale/hu/LC_MESSAGES/gettext-runtime.mo
+share/locale/id/LC_MESSAGES/gettext-runtime.mo
+share/locale/it/LC_MESSAGES/gettext-runtime.mo
+share/locale/ja/LC_MESSAGES/gettext-runtime.mo
+share/locale/ko/LC_MESSAGES/gettext-runtime.mo
+share/locale/locale.alias
+share/locale/nb/LC_MESSAGES/gettext-runtime.mo
+share/locale/nl/LC_MESSAGES/gettext-runtime.mo
+share/locale/nn/LC_MESSAGES/gettext-runtime.mo
+share/locale/pl/LC_MESSAGES/gettext-runtime.mo
+share/locale/pt/LC_MESSAGES/gettext-runtime.mo
+share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
+share/locale/ro/LC_MESSAGES/gettext-runtime.mo
+share/locale/ru/LC_MESSAGES/gettext-runtime.mo
+share/locale/sk/LC_MESSAGES/gettext-runtime.mo
+share/locale/sl/LC_MESSAGES/gettext-runtime.mo
+share/locale/sr/LC_MESSAGES/gettext-runtime.mo
+share/locale/sv/LC_MESSAGES/gettext-runtime.mo
+share/locale/tr/LC_MESSAGES/gettext-runtime.mo
+share/locale/uk/LC_MESSAGES/gettext-runtime.mo
+share/locale/vi/LC_MESSAGES/gettext-runtime.mo
+share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
+share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
+share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo


Property changes on: trunk/devel/gettext-runtime/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/Makefile
===================================================================
--- trunk/devel/gettext-tools/Makefile	                        (rev 0)
+++ trunk/devel/gettext-tools/Makefile	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,68 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/gettext-tools/Makefile 373636 2014-11-29 18:22:32Z tijl $
+
+PORTNAME=	gettext-tools
+PORTREVISION=	0
+
+COMMENT=	GNU gettext development and translation tools
+
+LICENSE=	gpl3
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
+.include "${.CURDIR}/../gettext/Makefile.common"
+
+WRKSRC= ${WRKDIR}/gettext-${PORTVERSION}/gettext-tools
+
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-csharp --disable-java --disable-openmp \
+		--with-included-glib --with-included-libcroco \
+		--with-included-libunistring --with-included-libxml \
+		--without-emacs --without-git ac_cv_lib_rt_sched_yield=no
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
+USES=		charsetfix gettext-runtime iconv libtool tar:xz
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+INFO+=		gettext
+.endif
+
+CONFIGURE_ARGS+=--disable-threads
+
+post-patch:
+.if ! ${PORT_OPTIONS:MDOCS}
+	@${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in
+.endif
+# Exclude examples and gnulib-tests.
+	@${REINPLACE_CMD} -E '/^SUBDIRS =/s/(examples|gnulib-tests)//g' \
+		${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} \
+		'/^install-data-am:/s/install-examplesbuildauxDATA//' \
+		${WRKSRC}/Makefile.in ${WRKSRC}/m4/Makefile.in
+# Do not install html copies of manpages.
+	@${REINPLACE_CMD} \
+		-e '/^all-local:/s/html-local//' \
+		-e '/^install-data-local:/s/install-html//' \
+		-e '/^installdirs-local:/s/installdirs-html//' \
+		${WRKSRC}/man/Makefile.in
+# Do not patch system float.h.
+	@${REINPLACE_CMD} 's/FLOAT_H=float\.h//' \
+		${WRKSRC}/configure
+# Use libintl installed by gettext-runtime.
+	@${REINPLACE_CMD} '/^LDADD_no =/s,\.\./intl/libgnuintl.la,,' \
+		${WRKSRC}/tests/Makefile.in
+# Use libasprintf installed by gettext-runtime.
+	@${REINPLACE_CMD} 's,[^ ]*libasprintf.la,-lasprintf,' \
+		${WRKSRC}/tests/lang-c++
+
+regression-test: build
+	@(cd ${WRKSRC} && ${MAKE_CMD} check)
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/gettext-tools/Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/distinfo
===================================================================
--- trunk/devel/gettext-tools/distinfo	                        (rev 0)
+++ trunk/devel/gettext-tools/distinfo	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,2 @@
+SHA256 (gettext-0.19.3.tar.xz) = f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46
+SIZE (gettext-0.19.3.tar.xz) = 6628460


Property changes on: trunk/devel/gettext-tools/distinfo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/files/patch-configure
===================================================================
--- trunk/devel/gettext-tools/files/patch-configure	                        (rev 0)
+++ trunk/devel/gettext-tools/files/patch-configure	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,20 @@
+--- configure.orig	2014-07-14 07:30:23 UTC
++++ configure
+@@ -18293,7 +18293,7 @@
+              # thread: pthread_create from libc will fail, whereas
+              # pthread_create will actually create a thread.
+              case "$host_os" in
+-               solaris* | hpux*)
++               solaris* | hpux* | freebsd*)
+ 
+ $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
+ 
+@@ -21679,7 +21679,7 @@
+                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
+            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
+                 && test "$PACKAGE" != gettext-runtime \
+-                && test "$PACKAGE" != gettext-tools; }; then
++                ; }; then
+           gt_use_preinstalled_gnugettext=yes
+         else
+                     LIBINTL=


Property changes on: trunk/devel/gettext-tools/files/patch-configure
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/files/patch-gnulib-lib_glthread_threadlib.c
===================================================================
--- trunk/devel/gettext-tools/files/patch-gnulib-lib_glthread_threadlib.c	                        (rev 0)
+++ trunk/devel/gettext-tools/files/patch-gnulib-lib_glthread_threadlib.c	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,39 @@
+--- gnulib-lib/glthread/threadlib.c.orig	2014-07-14 07:28:34 UTC
++++ gnulib-lib/glthread/threadlib.c
+@@ -29,11 +29,10 @@
+ 
+ # if PTHREAD_IN_USE_DETECTION_HARD
+ 
+-/* The function to be executed by a dummy thread.  */
+-static void *
+-dummy_thread_func (void *arg)
++static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
++static void
++dummy_once_func (void)
+ {
+-  return arg;
+ }
+ 
+ int
+@@ -44,19 +43,10 @@ glthread_in_use (void)
+ 
+   if (!tested)
+     {
+-      pthread_t thread;
+-
+-      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
+-        /* Thread creation failed.  */
++      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
+         result = 0;
+       else
+-        {
+-          /* Thread creation works.  */
+-          void *retval;
+-          if (pthread_join (thread, &retval) != 0)
+-            abort ();
+-          result = 1;
+-        }
++        result = 1;
+       tested = 1;
+     }
+   return result;


Property changes on: trunk/devel/gettext-tools/files/patch-gnulib-lib_glthread_threadlib.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/files/patch-libgettextpo_glthread_threadlib.c
===================================================================
--- trunk/devel/gettext-tools/files/patch-libgettextpo_glthread_threadlib.c	                        (rev 0)
+++ trunk/devel/gettext-tools/files/patch-libgettextpo_glthread_threadlib.c	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,39 @@
+--- libgettextpo/glthread/threadlib.c.orig	2014-07-14 07:29:10 UTC
++++ libgettextpo/glthread/threadlib.c
+@@ -29,11 +29,10 @@
+ 
+ # if PTHREAD_IN_USE_DETECTION_HARD
+ 
+-/* The function to be executed by a dummy thread.  */
+-static void *
+-dummy_thread_func (void *arg)
++static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
++static void
++dummy_once_func (void)
+ {
+-  return arg;
+ }
+ 
+ int
+@@ -44,19 +43,10 @@ glthread_in_use (void)
+ 
+   if (!tested)
+     {
+-      pthread_t thread;
+-
+-      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
+-        /* Thread creation failed.  */
++      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
+         result = 0;
+       else
+-        {
+-          /* Thread creation works.  */
+-          void *retval;
+-          if (pthread_join (thread, &retval) != 0)
+-            abort ();
+-          result = 1;
+-        }
++        result = 1;
+       tested = 1;
+     }
+   return result;


Property changes on: trunk/devel/gettext-tools/files/patch-libgettextpo_glthread_threadlib.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/pkg-descr
===================================================================
--- trunk/devel/gettext-tools/pkg-descr	                        (rev 0)
+++ trunk/devel/gettext-tools/pkg-descr	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,6 @@
+GNU gettext is a framework of libraries and tools for internationalisation 
+and localisation of software.
+
+This package contains development and translation tools.
+
+WWW: http://www.gnu.org/software/gettext/


Property changes on: trunk/devel/gettext-tools/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-tools/pkg-plist
===================================================================
--- trunk/devel/gettext-tools/pkg-plist	                        (rev 0)
+++ trunk/devel/gettext-tools/pkg-plist	2014-12-21 16:34:23 UTC (rev 17903)
@@ -0,0 +1,245 @@
+bin/autopoint
+bin/gettextize
+bin/msgattrib
+bin/msgcat
+bin/msgcmp
+bin/msgcomm
+bin/msgconv
+bin/msgen
+bin/msgexec
+bin/msgfilter
+bin/msgfmt
+bin/msggrep
+bin/msginit
+bin/msgmerge
+bin/msgunfmt
+bin/msguniq
+bin/recode-sr-latin
+bin/xgettext
+include/gettext-po.h
+lib/libgettextlib-0.19.3.so
+lib/libgettextlib.so
+lib/libgettextpo.a
+lib/libgettextpo.so
+lib/libgettextpo.so.5
+lib/libgettextsrc-0.19.3.so
+lib/libgettextsrc.so
+lib/gettext/hostname
+lib/gettext/project-id
+lib/gettext/urlget
+lib/gettext/user-email
+man/man1/autopoint.1.gz
+man/man1/gettextize.1.gz
+man/man1/msgattrib.1.gz
+man/man1/msgcat.1.gz
+man/man1/msgcmp.1.gz
+man/man1/msgcomm.1.gz
+man/man1/msgconv.1.gz
+man/man1/msgen.1.gz
+man/man1/msgexec.1.gz
+man/man1/msgfilter.1.gz
+man/man1/msgfmt.1.gz
+man/man1/msggrep.1.gz
+man/man1/msginit.1.gz
+man/man1/msgmerge.1.gz
+man/man1/msgunfmt.1.gz
+man/man1/msguniq.1.gz
+man/man1/recode-sr-latin.1.gz
+man/man1/xgettext.1.gz
+share/aclocal/codeset.m4
+share/aclocal/extern-inline.m4
+share/aclocal/gettext.m4
+share/aclocal/fcntl-o.m4
+share/aclocal/glibc2.m4
+share/aclocal/glibc21.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_h.m4
+share/aclocal/lcmessage.m4
+share/aclocal/lib-ld.m4
+share/aclocal/lib-link.m4
+share/aclocal/lib-prefix.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/size_max.m4
+share/aclocal/stdint_h.m4
+share/aclocal/threadlib.m4
+share/aclocal/uintmax_t.m4
+share/aclocal/visibility.m4
+share/aclocal/wchar_t.m4
+share/aclocal/wint_t.m4
+share/aclocal/xsize.m4
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_1.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_2.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_3.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_4.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_5.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_6.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_7.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_8.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_9.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_10.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_11.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_12.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_13.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_14.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_15.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_16.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_17.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_18.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_19.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_20.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_21.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_22.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_23.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_24.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_25.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_foot.html
+%%PORTDOCS%%%%DOCSDIR%%/gettext_toc.html
+%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
+%%DATADIR%%/archive.dir.tar.xz
+%%DATADIR%%/config.rpath
+%%DATADIR%%/gettext.h
+%%DATADIR%%/intl/COPYING.LIB
+%%DATADIR%%/intl/Makefile.in
+%%DATADIR%%/intl/VERSION
+%%DATADIR%%/intl/bindtextdom.c
+%%DATADIR%%/intl/config.charset
+%%DATADIR%%/intl/dcgettext.c
+%%DATADIR%%/intl/dcigettext.c
+%%DATADIR%%/intl/dcngettext.c
+%%DATADIR%%/intl/dgettext.c
+%%DATADIR%%/intl/dngettext.c
+%%DATADIR%%/intl/eval-plural.h
+%%DATADIR%%/intl/explodename.c
+%%DATADIR%%/intl/export.h
+%%DATADIR%%/intl/finddomain.c
+%%DATADIR%%/intl/gettext.c
+%%DATADIR%%/intl/gettextP.h
+%%DATADIR%%/intl/gmo.h
+%%DATADIR%%/intl/hash-string.c
+%%DATADIR%%/intl/hash-string.h
+%%DATADIR%%/intl/intl-compat.c
+%%DATADIR%%/intl/intl-exports.c
+%%DATADIR%%/intl/l10nflist.c
+%%DATADIR%%/intl/langprefs.c
+%%DATADIR%%/intl/libgnuintl.in.h
+%%DATADIR%%/intl/libintl.rc
+%%DATADIR%%/intl/loadinfo.h
+%%DATADIR%%/intl/loadmsgcat.c
+%%DATADIR%%/intl/localcharset.c
+%%DATADIR%%/intl/localcharset.h
+%%DATADIR%%/intl/locale.alias
+%%DATADIR%%/intl/localealias.c
+%%DATADIR%%/intl/localename.c
+%%DATADIR%%/intl/lock.c
+%%DATADIR%%/intl/lock.h
+%%DATADIR%%/intl/log.c
+%%DATADIR%%/intl/ngettext.c
+%%DATADIR%%/intl/os2compat.c
+%%DATADIR%%/intl/os2compat.h
+%%DATADIR%%/intl/osdep.c
+%%DATADIR%%/intl/plural-exp.c
+%%DATADIR%%/intl/plural-exp.h
+%%DATADIR%%/intl/plural.c
+%%DATADIR%%/intl/plural.y
+%%DATADIR%%/intl/printf-args.c
+%%DATADIR%%/intl/printf-args.h
+%%DATADIR%%/intl/printf-parse.c
+%%DATADIR%%/intl/printf-parse.h
+%%DATADIR%%/intl/printf.c
+%%DATADIR%%/intl/ref-add.sin
+%%DATADIR%%/intl/ref-del.sin
+%%DATADIR%%/intl/relocatable.c
+%%DATADIR%%/intl/relocatable.h
+%%DATADIR%%/intl/setlocale.c
+%%DATADIR%%/intl/textdomain.c
+%%DATADIR%%/intl/threadlib.c
+%%DATADIR%%/intl/tsearch.c
+%%DATADIR%%/intl/tsearch.h
+%%DATADIR%%/intl/vasnprintf.c
+%%DATADIR%%/intl/vasnprintf.h
+%%DATADIR%%/intl/vasnwprintf.h
+%%DATADIR%%/intl/verify.h
+%%DATADIR%%/intl/version.c
+%%DATADIR%%/intl/wprintf-parse.h
+%%DATADIR%%/intl/xsize.c
+%%DATADIR%%/intl/xsize.h
+%%DATADIR%%/javaversion.class
+%%DATADIR%%/msgunfmt.tcl
+%%DATADIR%%/po/Makefile.in.in
+%%DATADIR%%/po/Makevars.template
+%%DATADIR%%/po/Rules-quot
+%%DATADIR%%/po/boldquot.sed
+%%DATADIR%%/po/en at boldquot.header
+%%DATADIR%%/po/en at quot.header
+%%DATADIR%%/po/insert-header.sin
+%%DATADIR%%/po/quot.sed
+%%DATADIR%%/po/remove-potcdate.sin
+%%DATADIR%%/projects/GNOME/team-address
+%%DATADIR%%/projects/GNOME/teams.html
+%%DATADIR%%/projects/GNOME/teams.url
+%%DATADIR%%/projects/GNOME/trigger
+%%DATADIR%%/projects/KDE/team-address
+%%DATADIR%%/projects/KDE/teams.html
+%%DATADIR%%/projects/KDE/teams.url
+%%DATADIR%%/projects/KDE/trigger
+%%DATADIR%%/projects/TP/team-address
+%%DATADIR%%/projects/TP/teams.html
+%%DATADIR%%/projects/TP/teams.url
+%%DATADIR%%/projects/TP/trigger
+%%DATADIR%%/projects/index
+%%DATADIR%%/projects/team-address
+%%DATADIR%%/styles/po-default.css
+%%DATADIR%%/styles/po-emacs-x.css
+%%DATADIR%%/styles/po-emacs-xterm.css
+%%DATADIR%%/styles/po-emacs-xterm16.css
+%%DATADIR%%/styles/po-emacs-xterm256.css
+%%DATADIR%%/styles/po-vim.css
+share/locale/be/LC_MESSAGES/gettext-tools.mo
+share/locale/bg/LC_MESSAGES/gettext-tools.mo
+share/locale/ca/LC_MESSAGES/gettext-tools.mo
+share/locale/cs/LC_MESSAGES/gettext-tools.mo
+share/locale/da/LC_MESSAGES/gettext-tools.mo
+share/locale/de/LC_MESSAGES/gettext-tools.mo
+share/locale/el/LC_MESSAGES/gettext-tools.mo
+share/locale/en at boldquot/LC_MESSAGES/gettext-tools.mo
+share/locale/en at quot/LC_MESSAGES/gettext-tools.mo
+share/locale/es/LC_MESSAGES/gettext-tools.mo
+share/locale/et/LC_MESSAGES/gettext-tools.mo
+share/locale/eu/LC_MESSAGES/gettext-tools.mo
+share/locale/fi/LC_MESSAGES/gettext-tools.mo
+share/locale/fr/LC_MESSAGES/gettext-tools.mo
+share/locale/gl/LC_MESSAGES/gettext-tools.mo
+share/locale/id/LC_MESSAGES/gettext-tools.mo
+share/locale/it/LC_MESSAGES/gettext-tools.mo
+share/locale/ja/LC_MESSAGES/gettext-tools.mo
+share/locale/ko/LC_MESSAGES/gettext-tools.mo
+share/locale/nb/LC_MESSAGES/gettext-tools.mo
+share/locale/nl/LC_MESSAGES/gettext-tools.mo
+share/locale/nn/LC_MESSAGES/gettext-tools.mo
+share/locale/pa/LC_MESSAGES/gettext-tools.mo
+share/locale/pl/LC_MESSAGES/gettext-tools.mo
+share/locale/pt/LC_MESSAGES/gettext-tools.mo
+share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo
+share/locale/ro/LC_MESSAGES/gettext-tools.mo
+share/locale/ru/LC_MESSAGES/gettext-tools.mo
+share/locale/sk/LC_MESSAGES/gettext-tools.mo
+share/locale/sl/LC_MESSAGES/gettext-tools.mo
+share/locale/sr/LC_MESSAGES/gettext-tools.mo
+share/locale/sv/LC_MESSAGES/gettext-tools.mo
+share/locale/tr/LC_MESSAGES/gettext-tools.mo
+share/locale/uk/LC_MESSAGES/gettext-tools.mo
+share/locale/vi/LC_MESSAGES/gettext-tools.mo
+share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo
+share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo


Property changes on: trunk/devel/gettext-tools/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list