summaryrefslogtreecommitdiff
path: root/lang/gawk
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-08-01 15:19:58 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-08-01 15:19:58 +0000
commit9735b08deba5161189bc8c6366a9c0eba27d0f46 (patch)
tree8644d5680ff3afca07438f2567290dcff000c072 /lang/gawk
parent- Update path from masterport (diff)
Don't be stupid and assume that there's one, monolithic "bin"
directory, and that we're installing in it. Specifically, don't assume we're installing into /usr/bin, which is where the system 'awk' is located. This prevents the creation of a /usr/local/bin/awk symlink, which should fix the mtree errors reported by bento.
Notes
Notes: svn path=/head/; revision=45704
Diffstat (limited to 'lang/gawk')
-rw-r--r--lang/gawk/files/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/gawk/files/patch-Makefile b/lang/gawk/files/patch-Makefile
new file mode 100644
index 000000000000..cbc3d75a6b64
--- /dev/null
+++ b/lang/gawk/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.in~ Wed Aug 1 15:12:53 2001
++++ Makefile.in Wed Aug 1 15:13:00 2001
+@@ -755,7 +755,7 @@
+ (fullname=gawk-`./gawk --version | sed 1q | awk '{print $$3}'` ; \
+ cd $(DESTDIR)$(bindir); \
+ $(LN) gawk $$fullname ; \
+- if [ ! -f awk ]; \
++ if ! /usr/bin/which -s awk; \
+ then $(LN_S) gawk awk; \
+ fi; exit 0)
+