diff options
author | obache <obache@pkgsrc.org> | 2013-05-03 01:57:11 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-05-03 01:57:11 +0000 |
commit | eff91476174e6a42916f6aa8b16f1d6da301d1fa (patch) | |
tree | bb62e9843f46972dc867a5be12efb0a7b3e0ddc9 /devel/gettext-lib | |
parent | 31671c3789f758796baf5aaaec13ffd7574fc81a (diff) | |
download | pkgsrc-eff91476174e6a42916f6aa8b16f1d6da301d1fa.tar.gz |
revert last change, it is useless checking dcgettext().
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r-- | devel/gettext-lib/builtin.mk | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk index 224c835e2ad..ce4149ae9b6 100644 --- a/devel/gettext-lib/builtin.mk +++ b/devel/gettext-lib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.42 2013/05/02 12:39:00 obache Exp $ +# $NetBSD: builtin.mk,v 1.43 2013/05/03 01:57:11 obache Exp $ .include "../../mk/bsd.fast.prefs.mk" @@ -6,16 +6,13 @@ BUILTIN_PKG:= gettext BUILTIN_FIND_LIBS:= intl BUILTIN_FIND_FILES_VAR:= H_GETTEXT H_GENTOO_GETTEXT \ - H_NGETTEXT_GETTEXT \ - H_DCGETTEXT_GETTEXT + H_NGETTEXT_GETTEXT BUILTIN_FIND_FILES.H_GETTEXT= /usr/include/libintl.h BUILTIN_FIND_GREP.H_GETTEXT= \#define[ ]*__USE_GNU_GETTEXT BUILTIN_FIND_FILES.H_GENTOO_GETTEXT= /usr/include/libintl.h BUILTIN_FIND_GREP.H_GENTOO_GETTEXT= gentoo-multilib/.*/libintl.h BUILTIN_FIND_FILES.H_NGETTEXT_GETTEXT= /usr/include/libintl.h BUILTIN_FIND_GREP.H_NGETTEXT_GETTEXT= char.*ngettext -BUILTIN_FIND_FILES.H_DCGETTEXT_GETTEXT= /usr/include/libintl.h -BUILTIN_FIND_GREP.H_DCGETTEXT_GETTEXT= char.*dcgettext .include "../../mk/buildlink3/bsd.builtin.mk" @@ -65,10 +62,10 @@ USE_BUILTIN.gettext!= \ . endif # XXX # XXX By default, assume that the native gettext implementation is good -# XXX enough to replace GNU gettext if it supplies dcgettext(). +# XXX enough to replace GNU gettext if it supplies ngettext(). # XXX -. if empty(H_DCGETTEXT_GETTEXT:M__nonexistent__) && \ - empty(H_DCGETTEXT_GETTEXT:M${LOCALBASE}/*) +. if empty(H_NGETTEXT_GETTEXT:M__nonexistent__) && \ + empty(H_NGETTEXT_GETTEXT:M${LOCALBASE}/*) USE_BUILTIN.gettext= yes . endif # |