mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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.
This commit is contained in:
parent
680fdcafcd
commit
9735b08deb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45704
11
lang/gawk/files/patch-Makefile
Normal file
11
lang/gawk/files/patch-Makefile
Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user