$NetBSD: patch-Makefile.in,v 1.8 2022/09/12 09:55:56 wiz Exp $ Correct locale location, use names gawk and pgawk unconditionally. Do not install extras. --- Makefile.in.orig 2022-09-04 12:12:04.000000000 +0000 +++ Makefile.in @@ -359,7 +359,7 @@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ -DEFS = -DDEFPATH=$(DEFPATH) -DDEFLIBPATH=$(DEFLIBPATH) -DSHLIBEXT=$(SHLIBEXT) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(datadir)/locale"' -I"$(srcdir)/support" +DEFS = -DDEFPATH=$(DEFPATH) -DDEFLIBPATH=$(DEFLIBPATH) -DSHLIBEXT=$(SHLIBEXT) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"$(prefix)/$(PKGLOCALEDIR)/locale"' -I"$(srcdir)/support" DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ @@ -514,7 +514,7 @@ EXTRA_DIST = \ # Build in awklib after in doc, since we want to extract # sample files if doc/gawk.texi changed. -SUBDIRS = support . $(am__append_1) extras doc awklib po test +SUBDIRS = support . $(am__append_1) doc awklib po test bin_SCRIPTS = gawkbug include_HEADERS = gawkapi.h BUILT_SOURCES = $(srcdir)/pc/Makefile.tst @@ -1301,9 +1301,7 @@ install-exec-hook: (cd $(DESTDIR)$(bindir); \ name=`echo gawk | sed '$(transform)'` ; \ $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ - if [ ! -f awk$(EXEEXT) ]; \ - then $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \ - fi; exit 0) + exit 0) # Undo the above when uninstalling uninstall-links: