summaryrefslogtreecommitdiff
path: root/lang/ja-gawk/patches/patch-ab
blob: 62bd7a04123868ed9b151a1c19fea956ab63d33e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.2 2006/03/11 13:04:07 wiz Exp $

--- awklib/Makefile.in.orig	2005-10-23 20:59:29.000000000 +0900
+++ awklib/Makefile.in
@@ -33,7 +33,7 @@ CFLAGS = @CFLAGS@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
-binprefix =
+binprefix = j
 manprefix =
 
 bindir = @bindir@
@@ -74,7 +74,7 @@ group.awk: $(srcdir)/eg/lib/groupawk.in
 	sed 's;/usr/local/libexec/awk;$(libexecdir);' < groupawk.in) > group.awk
 
 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 ; \
 	done
@@ -86,7 +86,7 @@ install: igawk $(AUXPROGS) $(AUXAWK)
 # libexecdir and datadir are removed in the top level Makefile's uninstall
 uninstall:
 	rm -fr $(libexecdir)/* $(datadir)/*
-	rm -f $(bindir)/igawk
+	rm -f $(bindir)/$(binprefix)igawk
 
 clean:
 	rm -f $(AUXPROGS) $(AUXAWK) igawk *~