Bug 199825 - lang/gawk fails to compile update to 4.1.2
Summary: lang/gawk fails to compile update to 4.1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 00:03 UTC by w.schwarzenfeld
Modified: 2015-05-08 20:47 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (johans)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description w.schwarzenfeld 2015-05-01 00:03:58 UTC
lang/gawk fails to compile on FreeBSD-10.1-Release-p9 with

===>  Patching for gawk-4.1.2
===>  Applying FreeBSD patches for gawk-4.1.2
1 out of 1 hunks failed--saving rejects to Makefile.in.rej
=> Patch patch-Makefile failed to apply cleanly.
*** Error code 1

Makefile.in.rej

less gawk-4.1.2/Makefile.in.rej
@@ -1151,7 +1151,7 @@
install-exec-hook:
  (cd $(DESTDIR)$(bindir); \
  $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
-  if [ ! -f awk ]; \
+  if ! /usr/bin/which -s awk; \
  then  $(LN_S) gawk$(EXEEXT) awk; \
  fi; exit 0)

more details here:

https://forums.freebsd.org/threads/lang-gawk.51453/#post-288559