Dash:
[t2.git] / package / www / elinks / no_nls.patch
blob9f7d23e49538474702b35e8536fe8dbbde119e8f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../elinks/elinks.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 2006-04-02: we have to compile elinks without NLS support because of conflicts with glibc
19 --- elinks-0.11.1/src/intl/gettext/Makefile.orig 2006-04-02 11:33:24.000000000 +0200
20 +++ elinks-0.11.1/src/intl/gettext/Makefile 2006-04-02 11:36:39.000000000 +0200
21 @@ -26,9 +26,9 @@
24 # $(builddir)/charset.alias: $(srcdir)config.charset
25 -$(builddir)/charset.alias: $(srcdir)config.charset
26 - $(SHELL) $(srcdir)config.charset '$(host)' > $@.new
27 - mv $@.new $@
28 +#$(builddir)/charset.alias: $(srcdir)config.charset
29 +# $(SHELL) $(srcdir)config.charset '$(host)' > $@.new
30 +# mv $@.new $@
32 # FIXME: Building plural.c from plural.y on the fly doesn't work
34 @@ -40,8 +40,8 @@
35 $(YACC) $(YFLAGS) --output $@ $<
36 rm -f $*.h
38 -install-local: $(builddir)/charset.alias all
39 - @if test '$(CONFIG_NLS)' = yes; then \
40 +install-local: all
41 + @if test '$(CONFIG_NLS)' = no; then \
42 temp=$(DESTDIR)$(libdir)/t-charset.alias; \
43 dest=$(DESTDIR)$(libdir)/charset.alias; \
44 if test -f $(DESTDIR)$(libdir)/charset.alias; then \