ports/lang/gawk/files/patch-Makefile
Dima Dorfman 76c38efeb9 Update to 3.1.1.
PR:		38712
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2002-06-09 02:30:34 +00:00

11 lines
289 B
Text

--- Makefile.in.orig Mon Apr 29 23:36:46 2002
+++ Makefile.in Mon May 20 21:04:00 2002
@@ -761,7 +761,7 @@
cd $(DESTDIR)$(bindir); \
$(LN) gawk $$fullname ; \
$(LN) pgawk p$$fullname ; \
- if [ ! -f awk ]; \
+ if ! /usr/bin/which -s awk; \
then $(LN_S) gawk awk; \
fi; exit 0)