pkgsrc/lang/ja-gawk/patches/patch-ab
2006-03-11 13:04:07 +00:00

31 lines
940 B
Text

$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 *~