aboutsummaryrefslogtreecommitdiff
path: root/lang/gawk
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-05-01 07:45:08 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-05-01 07:45:08 +0000
commitb39dac4d01eab0d013ae34bf3592e9a28e0e3dbd (patch)
tree9e09223fe84241939a2a30755026f76adef254e7 /lang/gawk
parent650f96d5dc06a2ba8df50277700f33e82cb64f1c (diff)
downloadports-b39dac4d01eab0d013ae34bf3592e9a28e0e3dbd.tar.gz
ports-b39dac4d01eab0d013ae34bf3592e9a28e0e3dbd.zip
Notes
Diffstat (limited to 'lang/gawk')
-rw-r--r--lang/gawk/files/patch-Makefile10
-rw-r--r--lang/gawk/files/patch-extension_Makefile.in12
2 files changed, 5 insertions, 17 deletions
diff --git a/lang/gawk/files/patch-Makefile b/lang/gawk/files/patch-Makefile
index 7736ac45dc94..552403e37ece 100644
--- a/lang/gawk/files/patch-Makefile
+++ b/lang/gawk/files/patch-Makefile
@@ -1,11 +1,11 @@
---- Makefile.in.orig 2014-04-08 18:12:38.000000000 +0200
-+++ Makefile.in 2014-04-21 14:23:45.000000000 +0200
-@@ -1151,7 +1151,7 @@ uninstall-am: uninstall-binPROGRAMS unin
+--- Makefile.in.orig 2015-04-29 07:35:51.000000000 +0200
++++ Makefile.in 2015-05-01 09:30:45.000000000 +0200
+@@ -1175,7 +1175,7 @@ uninstall-am: uninstall-binPROGRAMS unin
install-exec-hook:
(cd $(DESTDIR)$(bindir); \
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
-- if [ ! -f awk ]; \
+- if [ ! -f awk$(EXEEXT) ]; \
+ if ! /usr/bin/which -s awk; \
- then $(LN_S) gawk$(EXEEXT) awk; \
+ then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
fi; exit 0)
diff --git a/lang/gawk/files/patch-extension_Makefile.in b/lang/gawk/files/patch-extension_Makefile.in
deleted file mode 100644
index a86458d7f03c..000000000000
--- a/lang/gawk/files/patch-extension_Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- extension/Makefile.in.orig 2014-04-08 18:13:03.000000000 +0200
-+++ extension/Makefile.in 2014-04-21 14:26:04.000000000 +0200
-@@ -1230,9 +1230,6 @@ uninstall-man: uninstall-man3
-
-
- install-data-hook:
-- for i in $(pkgextension_LTLIBRARIES) ; do \
-- $(RM) $(pkgextensiondir)/$$i ; \
-- done
-
- # Keep the uninstall check working:
- uninstall-so: