aboutsummaryrefslogtreecommitdiff
path: root/vietnamese/vnless/files/patch-01
diff options
context:
space:
mode:
Diffstat (limited to 'vietnamese/vnless/files/patch-01')
-rw-r--r--vietnamese/vnless/files/patch-0167
1 files changed, 67 insertions, 0 deletions
diff --git a/vietnamese/vnless/files/patch-01 b/vietnamese/vnless/files/patch-01
new file mode 100644
index 000000000000..bcb2df2044b7
--- /dev/null
+++ b/vietnamese/vnless/files/patch-01
@@ -0,0 +1,67 @@
+--- Makefile.orig Mon Feb 24 13:15:42 1992
++++ Makefile Wed Dec 4 03:26:44 1996
+@@ -31,15 +31,15 @@
+ # INSTALL_HELP is a list of the public version of the help file.
+ # INSTALL_LESSMAN is a list of the public versions of the less manual page.
+ # INSTALL_KEYMAN is a list of the public versions of the lesskey manual page.
+-ROOT = ../../VN
++ROOT = ${PREFIX}
+ INSTALL_LESS = $(ROOT)/bin/vnless
+-INSTALL_KEY = $(ROOT)/bin/lesskey
+-INSTALL_HELP = $(ROOT)/man/less.help
+-INSTALL_LESSMAN = $(ROOT)/man/vnless.1
+-INSTALL_KEYMAN = $(ROOT)/man/lesskey.1
++INSTALL_KEY = $(ROOT)/bin/vnlesskey
++INSTALL_HELP = $(ROOT)/share/misc/vnless.help
++INSTALL_LESSMAN = $(ROOT)/man/man1/vnless.1
++INSTALL_KEYMAN = $(ROOT)/man/man1/vnlesskey.1
+ LESS_MANUAL = less.man
+ KEY_MANUAL = lesskey.man
+-HELPFILE = $(ROOT)/man/less.help
++HELPFILE = $(ROOT)/share/misc/vnless.help
+
+
+ # OPTIM is passed to the compiler and the loader.
+@@ -49,6 +49,7 @@
+ #CFLAGS = $(OPTIM)
+ CFLAGS = -O
+ LDFLAGS =
++LDLIBS = -lcompat
+
+
+ ##########################################################################
+@@ -82,24 +83,24 @@
+ $(CC) $(CFLAGS) -c -DHELPFILE=\"$(HELPFILE)\" help.c
+
+ install_less: vnless
+- for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
+- touch install_less
++ @for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
++ @touch install_less
+
+ install_key: lesskey
+- for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
+- touch install_key
++ @for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
++ @touch install_key
+
+ install_help: less.help
+- for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
+- touch install_help
++ @for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
++ @touch install_help
+
+ install_lman: $(LESS_MANUAL)
+- for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
+- touch install_lman
++ @for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
++ @touch install_lman
+
+ install_kman: $(KEY_MANUAL)
+- for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
+- touch install_kman
++ @for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
++ @touch install_kman
+
+ ##########################################################################
+ # Maintenance