summaryrefslogtreecommitdiff
path: root/lang/ja-gawk/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ja-gawk/patches')
-rw-r--r--lang/ja-gawk/patches/patch-aa38
-rw-r--r--lang/ja-gawk/patches/patch-ab25
-rw-r--r--lang/ja-gawk/patches/patch-ac31
3 files changed, 94 insertions, 0 deletions
diff --git a/lang/ja-gawk/patches/patch-aa b/lang/ja-gawk/patches/patch-aa
new file mode 100644
index 00000000000..7d699b71601
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- Makefile.in.orig Mon Oct 11 21:30:42 1999
++++ Makefile.in Mon Oct 11 21:35:44 1999
+@@ -48,5 +48,5 @@
+ exec_suffix = @exec_suffix@
+ prefix = @prefix@
+-binprefix =
++binprefix = j
+ manprefix =
+
+@@ -195,12 +195,6 @@
+
+ install: gawk$(exec_suffix) info installdirs
+- -rm -f $(bindir)/gawk$(exec_suffix)
+- fullname=gawk-$(REL).`./gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
+- $(INSTALL_PROGRAM) gawk$(exec_suffix) $(bindir)/$${fullname}$(exec_suffix) ; \
+- (cd $(bindir); $(LN) $${fullname}$(exec_suffix) gawk$(exec_suffix))
+- (cd $(bindir);\
+- if [ ! -f awk$(exec_suffix) ]; \
+- then $(LN_S) gawk$(exec_suffix) awk$(exec_suffix); \
+- fi; exit 0)
++ $(INSTALL_PROGRAM) gawk$(exec_suffix) \
++ $(bindir)/$(binprefix)gawk$(exec_suffix)
+ cd doc && $(MAKE) install
+ cd awklib && $(MAKE) install
+@@ -211,10 +205,5 @@
+
+ uninstall:
+- (cd $(bindir); \
+- if [ -f awk$(exec_suffix) ] && cmp awk$(exec_suffix) gawk$(exec_suffix) > /dev/null; then rm -f awk$(exec_suffix); fi)
+- (fullname=gawk-$(REL).`gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
+- cd $(bindir); \
+- if cmp gawk$(exec_suffix) $${fullname}$(exec_suffix); then rm -f gawk$(exec_suffix); fi ; \
+- rm -f $(bindir)/$${fullname}$(exec_suffix))
++ rm -f $(bindir)/$(binprefix)gawk$(exec_suffix))
+ cd doc && $(MAKE) uninstall
+ cd awklib && $(MAKE) uninstall
diff --git a/lang/ja-gawk/patches/patch-ab b/lang/ja-gawk/patches/patch-ab
new file mode 100644
index 00000000000..a8c7163f67d
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- awklib/Makefile.in.orig Mon Oct 11 21:30:42 1999
++++ awklib/Makefile.in Mon Oct 11 21:36:58 1999
+@@ -35,5 +35,5 @@
+ exec_prefix = @exec_prefix@
+ exec_suffix = @exec_suffix@
+-binprefix =
++binprefix = j
+ manprefix =
+
+@@ -76,5 +76,5 @@
+
+ install: igawk $(AUXPROGS) $(AUXAWK)
+- $(INSTALL_PROGRAM) igawk $(bindir)/igawk
++ $(INSTALL_PROGRAM:-s=) igawk $(bindir)/$(binprefix)igawk
+ for i in $(AUXPROGS) ; do \
+ $(INSTALL_PROGRAM) $$i $(libexecdir)/$$i ; \
+@@ -88,5 +88,5 @@
+ uninstall:
+ rm -fr $(libexecdir)/* $(datadir)/*
+- rm -f $(bindir)/igawk
++ rm -f $(bindir)/$(binprefix)igawk
+
+ clean:
diff --git a/lang/ja-gawk/patches/patch-ac b/lang/ja-gawk/patches/patch-ac
new file mode 100644
index 00000000000..080f18d7106
--- /dev/null
+++ b/lang/ja-gawk/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+
+--- doc/Makefile.in.orig Wed Apr 28 23:21:56 1999
++++ doc/Makefile.in Mon Oct 11 21:38:08 1999
+@@ -31,5 +31,5 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ binprefix =
+-manprefix =
++manprefix = j
+
+@@ -83,16 +83,13 @@
+ $(INSTALL_DATA) $$i $(infodir)/$$i ; \
+ done; \
+- if $(SHELL) -c 'install-info --version' > /dev/null 2>&1 ; \
+- then install-info --info-dir=$(infodir) gawk.info ; \
+- else true ; fi; exit 0
+
+ $(mandir)/gawk$(manext):: gawk.1
+- $(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/gawk$(manext)
++ $(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/$(manprefix)gawk$(manext)
+
+ $(mandir)/igawk$(manext):: igawk.1
+- $(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/igawk$(manext)
++ $(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/$(manprefix)igawk$(manext)
+
+ uninstall:
+- rm -f $(mandir)/gawk$(manext) $(mandir)/igawk$(manext) $(infodir)/gawk.info*
++ rm -f $(mandir)/$(manprefix)gawk$(manext) $(mandir)/$(manprefix)igawk$(manext) $(infodir)/gawk.info*
+
+ dvi: gawk.dvi