summaryrefslogtreecommitdiff
path: root/ftp/lftp/files/patch-lib-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/lftp/files/patch-lib-Makefile.in')
-rw-r--r--ftp/lftp/files/patch-lib-Makefile.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/ftp/lftp/files/patch-lib-Makefile.in b/ftp/lftp/files/patch-lib-Makefile.in
new file mode 100644
index 000000000000..7543ca708df3
--- /dev/null
+++ b/ftp/lftp/files/patch-lib-Makefile.in
@@ -0,0 +1,41 @@
+--- lib/Makefile.in.orig 2008-05-23 15:54:06.000000000 +0200
++++ lib/Makefile.in 2008-05-28 17:40:42.280514020 +0200
+@@ -576,8 +576,6 @@
+ libgnu_la_LDFLAGS = $(AM_LDFLAGS)
+ GPERF = gperf
+ LINK_WARNING_H = $(top_srcdir)/build-aux/link-warning.h
+-charset_alias = $(DESTDIR)$(libdir)/charset.alias
+-charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
+ all: $(BUILT_SOURCES) config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
+@@ -1107,29 +1105,8 @@
+ all-local: charset.alias ref-add.sed ref-del.sed
+ install-exec-local: all-local
+ test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
+- if test -f $(charset_alias); then \
+- sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
+- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
+- rm -f $(charset_tmp) ; \
+- else \
+- if test $(GLIBC21) = no; then \
+- sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
+- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
+- rm -f $(charset_tmp) ; \
+- fi ; \
+- fi
+
+ uninstall-local: all-local
+- if test -f $(charset_alias); then \
+- sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
+- if grep '^# Packages using this file: $$' $(charset_tmp) \
+- > /dev/null; then \
+- rm -f $(charset_alias); \
+- else \
+- $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
+- fi; \
+- rm -f $(charset_tmp); \
+- fi
+
+ charset.alias: config.charset
+ rm -f t-$@ $@