svn commit: r504630 - head/net/unison240

Alexey Dokuchaev danfe at FreeBSD.org
Thu Jun 20 13:19:42 UTC 2019


Author: danfe
Date: Thu Jun 20 13:19:41 2019
New Revision: 504630
URL: https://svnweb.freebsd.org/changeset/ports/504630

Log:
  Unbreak the build against modern versions of OCaml.

Modified:
  head/net/unison240/Makefile

Modified: head/net/unison240/Makefile
==============================================================================
--- head/net/unison240/Makefile	Thu Jun 20 13:17:42 2019	(r504629)
+++ head/net/unison240/Makefile	Thu Jun 20 13:19:41 2019	(r504630)
@@ -58,6 +58,11 @@ USES+=			gettext-runtime
 PLIST_SUB+=		X11=""
 .endif
 
+pre-patch:
+# BCP 5/16: Eta-expand for backward compatibility with OCaml >4.02
+	@${REINPLACE_CMD} -e 's,= Unix\.symlink,s1 s2 & s1 s2,' \
+		${WRKSRC}/system/system_generic.ml
+
 .if ${FLAVOR} == x11
 post-patch:
 	@${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \


More information about the svn-ports-all mailing list