pkgsrc/lang/ja-gawk/patches/patch-aa
seb af73eb025f Reimport of package ja-gawk from japanese/gawk into lang/ja-gawk.
This is part of the japanese category retirement.
CATEGORIES adjusted.
2002-05-31 13:00:45 +00:00

38 lines
1.4 KiB
Text

$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