freebsd-ports/lang/gawk/files/patch-Makefile
2011-07-09 11:27:19 +00:00

11 lines
412 B
Text

--- Makefile.in.orig 2011-07-01 16:58:19.000000000 +0200
+++ Makefile.in 2011-07-01 16:58:47.000000000 +0200
@@ -1014,7 +1014,7 @@ install-exec-hook:
(cd $(DESTDIR)$(bindir); \
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
$(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
- if [ ! -f awk ]; \
+ if ! /usr/bin/which -s awk; \
then $(LN_S) gawk$(EXEEXT) awk; \
fi; exit 0)