summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-22 20:49:17 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-22 20:49:17 +0000
commit9eb7e5fad052f212be2a2f34d93d49004ba95784 (patch)
tree6e03688354b0f670b247143386c90a0d92cd5b44 /app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch
parentBump to 0.13.7 (diff)
downloadgentoo-2-9eb7e5fad052f212be2a2f34d93d49004ba95784.tar.gz
gentoo-2-9eb7e5fad052f212be2a2f34d93d49004ba95784.tar.bz2
gentoo-2-9eb7e5fad052f212be2a2f34d93d49004ba95784.zip
Version bump for zhcon, thanks to Zhang Lee (bug #144944) who's also going to be the proxied maintainer for this package.
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch')
-rw-r--r--app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch143
1 files changed, 143 insertions, 0 deletions
diff --git a/app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch b/app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch
new file mode 100644
index 000000000000..182c80b8dd1d
--- /dev/null
+++ b/app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch
@@ -0,0 +1,143 @@
+diff -Nur zhcon-0.2.5.orig/doc/Makefile.am zhcon-0.2.5/doc/Makefile.am
+--- zhcon-0.2.5.orig/doc/Makefile.am 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/doc/Makefile.am 2006-06-21 18:13:59.000000000 +0800
+@@ -3,8 +3,8 @@
+ EXTRA_DIST = zhcon.1.in poem.big5 poem.gb poem.gb.utf8 bpsf.txt manual.tex manual.dvi manual.ps README.html default.css html.tar.gz
+
+ install-data-local:
+- $(mkinstalldirs) $(mandir)/man1/
+- $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(mandir)/man1/zhcon.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
++ $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1
+
+ uninstall-local:
+- -rm -f $(mandir)/man1/zhcon.1
++ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1
+diff -Nur zhcon-0.2.5.orig/doc/Makefile.in zhcon-0.2.5/doc/Makefile.in
+--- zhcon-0.2.5.orig/doc/Makefile.in 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/doc/Makefile.in 2006-06-21 18:13:30.000000000 +0800
+@@ -326,11 +326,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(mandir)/man1/
+- $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(mandir)/man1/zhcon.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
++ $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1
+
+ uninstall-local:
+- -rm -f $(mandir)/man1/zhcon.1
++ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -Nur zhcon-0.2.5.orig/font/Makefile.am zhcon-0.2.5/font/Makefile.am
+--- zhcon-0.2.5.orig/font/Makefile.am 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/font/Makefile.am 2006-06-21 18:14:30.000000000 +0800
+@@ -1,8 +1,8 @@
+ EXTRA_DIST = *.bpsf
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/font/
+- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/
++ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/font/*.bpsf
++ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf
+diff -Nur zhcon-0.2.5.orig/font/Makefile.in zhcon-0.2.5/font/Makefile.in
+--- zhcon-0.2.5.orig/font/Makefile.in 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/font/Makefile.in 2006-06-21 18:15:02.000000000 +0800
+@@ -321,11 +321,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/font/
+- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/
++ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/font/*.bpsf
++ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -Nur zhcon-0.2.5.orig/input/Makefile.am zhcon-0.2.5/input/Makefile.am
+--- zhcon-0.2.5.orig/input/Makefile.am 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/input/Makefile.am 2006-06-21 18:15:35.000000000 +0800
+@@ -1,8 +1,8 @@
+ EXTRA_DIST = *.mb
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/input/
+- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/
++ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/input/*.mb
++ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb
+diff -Nur zhcon-0.2.5.orig/input/Makefile.in zhcon-0.2.5/input/Makefile.in
+--- zhcon-0.2.5.orig/input/Makefile.in 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/input/Makefile.in 2006-06-21 18:16:02.000000000 +0800
+@@ -321,11 +321,11 @@
+
+
+ install-data-local:
+- $(mkinstalldirs) $(libdir)/zhcon/input/
+- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/
++ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/
++ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/
+
+ uninstall-local:
+- -rm -f $(libdir)/zhcon/input/*.mb
++ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -Nur zhcon-0.2.5.orig/src/Makefile.am zhcon-0.2.5/src/Makefile.am
+--- zhcon-0.2.5.orig/src/Makefile.am 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/src/Makefile.am 2006-06-22 08:35:42.000000000 +0800
+@@ -8,14 +8,14 @@
+ SUBDIRS = display
+
+ install-exec-local:
+- chmod 4755 $(bindir)/zhcon
++ chmod 4755 $(DESTDIR)$(bindir)/zhcon
+
+ install-data-local:
+- $(mkinstalldirs) $(prefix)/etc
+- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(prefix)/etc/zhcon.conf
++ $(mkinstalldirs) $(DESTDIR)/etc
++ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(DESTDIR)/etc/zhcon.conf
+
+ uninstall-local:
+- -rm -f $(prefix)/etc/zhcon.conf
++ -rm -f $(DESTDIR)/etc/zhcon.conf
+
+ # set the include path found by configure
+ INCLUDES= $(all_includes)
+diff -Nur zhcon-0.2.5.orig/src/Makefile.in zhcon-0.2.5/src/Makefile.in
+--- zhcon-0.2.5.orig/src/Makefile.in 2006-06-21 18:02:23.000000000 +0800
++++ zhcon-0.2.5/src/Makefile.in 2006-06-22 08:36:05.000000000 +0800
+@@ -602,14 +602,14 @@
+
+
+ install-exec-local:
+- chmod 4755 $(bindir)/zhcon
++ chmod 4755 $(DESTDIR)$(bindir)/zhcon
+
+ install-data-local:
+- $(mkinstalldirs) $(prefix)/etc
+- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(prefix)/etc/zhcon.conf
++ $(mkinstalldirs) $(DESTDIR)/etc
++ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(DESTDIR)/etc/zhcon.conf
+
+ uninstall-local:
+- -rm -f $(prefix)/etc/zhcon.conf
++ -rm -f $(DESTDIR)/etc/zhcon.conf
+
+ # the library search path.
+ #zhcon_LDFLAGS = $(all_libraries) -L/usr/lib/unicon