blob: e4ced614d50c3f93ded48cc057ff121dbb452da1 (
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
|
$NetBSD: patch-ab,v 1.7 2003/06/07 16:03:05 jmmv Exp $
--- Makefile.in.orig Mon Apr 29 10:36:46 2002
+++ Makefile.in
@@ -224,7 +224,7 @@ awkdatadir = @datadir@/awk
# stuff for compiling gawk/pgawk
DEFPATH = "\".$(PATH_SEPARATOR)$(awkdatadir)\""
-DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\""
+DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(prefix)/$(PKGLOCALEDIR)/locale\""
INCLUDES = -I$(srcdir)/intl
@@ -760,10 +760,7 @@ install-exec-hook:
(fullname=gawk-`./gawk --version | sed 1q | awk '{print $$3}'` ; \
cd $(DESTDIR)$(bindir); \
$(LN) gawk $$fullname ; \
- $(LN) pgawk p$$fullname ; \
- if [ ! -f awk ]; \
- then $(LN_S) gawk awk; \
- fi; exit 0)
+ $(LN) pgawk p$$fullname; exit 0)
# Undo the above when uninstalling
uninstall-links:
|