summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
AgeCommit message (Collapse)AuthorFilesLines
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-3/+3
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-21We need to pre-create the locale directory before copying the locale.aliasjlam1-2/+3
file into place. Bump the PKGREVISION to 6.
2005-08-20Fix the msgfmt.pl script to deal with messages with plurals whose stringsjmmv1-7/+20
are identical (e.g., msgid == msgid_plural) by ignoring the duplicates. In fact, this is a rewrite of the script, since I couldn't understand the old one (ew). Also change the way we use it to only pull it in the build if the real msgfmt does not support plurals (i.e., it's older than 0.10.36). Fixes PR pkg/30596 and PR pkg/30938 (both related to epiphany). It also fixes the build of evolution-data-server and probably others.
2005-08-19Install the locale.alias file into an example directory, and copy itjlam2-3/+12
into place via REQD_FILES. This fixes a CHECK_FILES error. Bump the PKGREVISION to 5.
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-2/+2
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-06-05In builtin.mk files, use _BLTN_ as the private namespace prefix.jlam1-20/+20
2005-06-01Ensure that BUILTIN_GETTEXT_NGETTEXT is always defined.jlam1-6/+9
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam2-88/+137
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-24Rename _LIBINTL_H to _BLNK_LIBINTL_H (namespace issues).jlam1-7/+8
2005-05-24Re-add _LIBINTL_H definition that was accidentally removed in thejlam1-1/+3
previous commit.
2005-05-24Use mk/buildlink3/find-libs.mk instead of custom logic to find a nativejlam1-20/+6
libintl.so.
2005-05-19We can only use the subst.mk framework if the files are relative tojlam1-12/+14
${WRKSRC}. Just directly create the msgfmt wrapper in the proper target. Also, note that the msgfmt handling should eventually migrate to the tools framework so that build dependencies and binary paths are correct.
2005-04-19Include ../../converters/libiconv/buildlink3.mk in buildlink3.mk,epg2-45/+5
and let it worry about whether libiconv is built-in or not. Remove all references to libiconv from builtin.mk. The logic in builtin.mk was broken and unnecessary, leading to a build failure on at least some Linux systems (such as Debian woody without any gettext packages installed).
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-24Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to bewiz1-3/+1
useful.
2005-02-23Add RMD160 digests.agc1-1/+2
2004-12-18only include <search.h> if it is present. fixes build on Darwin.grant2-1/+17
2004-12-11Create directories before putting files in them. This should fixjlam1-1/+2
PR pkg/28480.
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-2/+2
Suggested by Roland Illig, ok'd by various.
2004-11-28Remove pre-buildlink and post-buildlink as part of getting pkgsrc readyjlam1-2/+2
for pkgsrc-2004Q4. The "buildlink" phase was removed for the last branch, and this is the final cleanup. "post-buildlink" is now "post-wrapper".
2004-11-27Fix broken libintl existence test; patch by minskim.wiz1-6/+6
2004-11-26Standardize how we search for libraries in builtin.mk files. We definejlam1-9/+14
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is found in the base system.
2004-11-21Move the section that sets up some GNU configure variables to forcejlam1-7/+13
"GNU gettext" detection outside of the BROKEN_GETTEXT_DETECTION block. We will need this to happen all the time if we're using a built-in gettext that isn't really GNU gettext.
2004-11-14Follow the recommended template for builtin.mk files: glibc's gettextjlam1-52/+75
is _not_ GNU gettext, so it's presence should not set IS_BUILTIN.gettext to "yes", but it _can_ set USE_BUILTIN.gettext to "yes" to force that it be used. Also, create a new variable BROKEN_GETTEXT_DETECTION, which is yes/no depending on whether or not a package's GNU configure script properly detects -lintl. This variable currently defaults to "yes", but should eventually be set to "no" and overridden on a package-by-package basis for those packages that truly are broken.
2004-10-14If builtin libintl has ngettext(), force packages requiring gettextminskim1-1/+4
API version 2 to choose the builtin library over GNU gettext shipped with each package. In fact, the gettext library included in a package should never be used. Otherwise every such package would install charset.alias and locale.alias, causing conflicts with each other when pkgviews is enabled. For platforms without ngettext() in their builtin libintl (assumed to be gettext-lib-0.10.35nb1 by gettext-lib/builtin.mk), packages requiring gettext API version 2 must add dependency on gettext-lib>=0.10.36 to share devel/gettext-lib rather than to link statically against the included gettext library.
2004-10-04older versions of GNU gettext do not provide ngettext() and a bunchgrant1-5/+15
of other functions. only consider the base system's gettext suitable if it provides at least ngettext().
2004-10-03Correct typo "PREFER.getext".heinz1-2/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-08-28Use the new BUILDLINK_TRANSFORM commands to more precisely state thejlam1-2/+2
intended transformation: use "rm" to remove an option, "rmdir" to remove all options containing a path starting with a given directory name, and "rename" to rename options to something else.
2004-07-04Unused.wiz1-186/+0
2004-05-17Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymoreseb1-2/+1
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-09Pass -b to pkg_admin lsbest to make this work correctly on systems where the ↵danw1-2/+2
pkgdbdir passes through a symlink
2004-04-20Use $(INSTALL), not $(INSTALL_DATA), to install a library. Some platformstv3-7/+16
(e.g., Interix) still expect a shlib to be executable, and INSTALL_DATA installs with mode 644 (non-executable).
2004-04-06Do not assume that if /usr/lib/libintl.* does not existreed1-3/+14
that it can not be builtin. So also check for "This file is part of the GNU C Library". This helps with systems that have gettext(3) functionality included in their glibc. This also fixes build problem under Linux where devel/popt didn't build "because some functions are defined both in gettext-lib and in the native libc" as reported by minskim to tech-pkg on 21/Mar/2004.
2004-04-01Add a script to workaround uses of msgid_plural, which is not yet supportedjmmv2-2/+38
by our native libintl. While it is not implemented, this allows us to build programs against the native libintl, loosing very few functionality (some translations of plural messages on few languages), and avoiding runtime conflicts between native libintl and the gnu one (coming from the gettext package). Packages including .po files with uses of msgid_plural should define the USE_MSGFMT_PLURALS variable to 'yes', so that the msgfmt wrapper is used. (Do not use it when not really needed, as it will pull in perl5 as a build dependancy).
2004-03-29Match the template builtin.mk file in bsd.builtin.mk, and make the twojlam1-9/+13
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links) use the new format correctly.
2004-03-29Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,jlam1-1/+2
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+". This is mandated by the example buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-22Assume that the native gettext implementation will satisfy GNU gettextjlam1-7/+8
dependencies unless USE_GNU_GETTEXT is defined or IMCOMPAT_GETTEXT is set appropriately. This should allow packages to use the glibc gettext routines on Linux.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-16If the ${PKGBASE} of a package doesn't match the token passed tojlam1-1/+2
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16Manipulate the buildlink depth so that libiconv and Xfixes aren't addedjlam1-1/+3
to BUILDLINK_DEPENDS unless their respective buildlink3.mk files are included by the top-level Makefile.
2004-03-10Split out the code that deals with checking whether the software isjlam2-146/+155
built-in or not into a separate builtin.mk file. The code to deal checking for built-in software is much simpler to deal with in pkgsrc. The buildlink3.mk file for a package will be of the usual format regardless of the package, which makes it simpler for packagers to update a package. The builtin.mk file for a package must define a single yes/no variable USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether to use the built-in software or to use the pkgsrc software.
2004-03-08Improvements for DESCRiption and COMMENT.reed2-4/+5
(The DESCRiption was same as the other gettext package, and the COMMENT mentioned "Tools".)
2004-02-18Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in thejlam1-19/+21
environment overrides all other settings.
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14USE_BUILDLINK should be "yes", not just defined.jlam1-4/+4
2004-02-14remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does thisgrant1-3/+1
automatically now.
2004-02-12Create a new variable PREFER_NATIVE that has the opposite semanticsjlam2-6/+26
as PREFER_PKGSRC. Preferences are determined by the most specific instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is specified in neither or in both variables, then PREFER_PKGSRC has precedence over PREFER_NATIVE.