summaryrefslogtreecommitdiff
path: root/lang/ja-gawk/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ja-gawk/patches/patch-aa')
-rw-r--r--lang/ja-gawk/patches/patch-aa42
1 files changed, 24 insertions, 18 deletions
diff --git a/lang/ja-gawk/patches/patch-aa b/lang/ja-gawk/patches/patch-aa
index 7d699b71601..01f7c98176e 100644
--- a/lang/ja-gawk/patches/patch-aa
+++ b/lang/ja-gawk/patches/patch-aa
@@ -1,38 +1,44 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:45 seb Exp $
+$NetBSD: patch-aa,v 1.2 2006/03/11 13:04:07 wiz 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@
+--- Makefile.in.orig 2005-10-23 20:59:29.000000000 +0900
++++ Makefile.in
+@@ -46,7 +46,7 @@ LN_S = @LN_S@
+
+ exec_prefix = @exec_prefix@
prefix = @prefix@
-binprefix =
+binprefix = j
manprefix =
-@@ -195,12 +195,6 @@
+ bindir = @bindir@
+@@ -194,14 +194,8 @@ alloca.o: alloca.c
+ mbc.o: Makefile
- install: gawk$(exec_suffix) info installdirs
-- -rm -f $(bindir)/gawk$(exec_suffix)
+ install: gawk info installdirs
+- -rm -f $(bindir)/gawk
- 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); \
+- $(INSTALL_PROGRAM) gawk $(bindir)/$$fullname ; \
+- (cd $(bindir); $(LN) $$fullname gawk)
+- (cd $(bindir); \
+- if [ ! -f awk ]; \
+- then $(LN_S) gawk awk; \
- 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 @@
+
+@@ -213,12 +207,7 @@ install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
uninstall:
- (cd $(bindir); \
-- if [ -f awk$(exec_suffix) ] && cmp awk$(exec_suffix) gawk$(exec_suffix) > /dev/null; then rm -f awk$(exec_suffix); fi)
+- if [ -f awk ] && cmp awk gawk > /dev/null; then rm -f awk; 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))
+- if cmp gawk $$fullname; then rm -f gawk; fi ; \
+- rm -f $(bindir)/$$fullname)
++ rm -f $(bindir)/$(binprefix)gawk$(exec_suffix)
cd doc && $(MAKE) uninstall
cd awklib && $(MAKE) uninstall
+ -rmdir $(datadir) $(libexecdir)