Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2019 13:19:41 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504630 - head/net/unison240
Message-ID:  <201906201319.x5KDJf54079634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906201319.x5KDJf54079634>