Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2012 02:04:56 +0000 (UTC)
From:      Jeremy Messenger <mezz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302269 - in head/lang/opa: . files
Message-ID:  <201208080204.q7824u1I030882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mezz
Date: Wed Aug  8 02:04:56 2012
New Revision: 302269
URL: http://svn.freebsd.org/changeset/ports/302269

Log:
  - The tarball has been rerolled. The diff doesn't find any of change, so
    there was no change.
  - Fix the build on FreeBSD 7.x.
  - Improvement on patch-lib_stdlib_extract-import-plugin.sh, functions better
    and only affect on build side (not runtime).
  
  Reported by:	pointyhat (beat)

Added:
  head/lang/opa/files/patch-tools_build_myocamlbuild_prefix.ml   (contents, props changed)
Modified:
  head/lang/opa/distinfo   (contents, props changed)
  head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh

Modified: head/lang/opa/distinfo
==============================================================================
--- head/lang/opa/distinfo	Wed Aug  8 01:56:52 2012	(r302268)
+++ head/lang/opa/distinfo	Wed Aug  8 02:04:56 2012	(r302269)
@@ -1,2 +1,2 @@
-SHA256 (opa_v2988.tar.gz) = fb3257d943465f5901dade3fd1a18a5dbdacb2e27a892a76fba57e770ce3ea9f
-SIZE (opa_v2988.tar.gz) = 10006465
+SHA256 (opa_v2988.tar.gz) = 13b0a95843239ca81bab3cacc3361a11ca92a63801c9f67c0ef1f08f7c349771
+SIZE (opa_v2988.tar.gz) = 10006468

Modified: head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh
==============================================================================
--- head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh	Wed Aug  8 01:56:52 2012	(r302268)
+++ head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh	Wed Aug  8 02:04:56 2012	(r302269)
@@ -5,4 +5,4 @@
  . ${OPA_SOURCE_DIR:-$(dirname $0)/../../}/tools/platform_helper.sh
  
 -sed -n "s%^ *import-plugin  *\\(.*\\) *$%\\1%p" $1 | sed -e "s/{//" -e "s/}//" -e "s/, */\n/g"
-+sed -n "s%^ *import-plugin  *\\(.*\\) *$%\\1%p" $1 | sed -e "s/{//" -e "s/}//" | tr ', ' '\n'
++sed -n "s%^ *import-plugin  *\\(.*\\) *$%\\1%p" $1 | sed -e "s/{//" -e "s/}//" -e "s/, /,/g" | tr ',' '\n'

Added: head/lang/opa/files/patch-tools_build_myocamlbuild_prefix.ml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/opa/files/patch-tools_build_myocamlbuild_prefix.ml	Wed Aug  8 02:04:56 2012	(r302269)
@@ -0,0 +1,11 @@
+--- tools/build/myocamlbuild_prefix.ml.orig	2012-08-07 20:41:25.000000000 -0500
++++ tools/build/myocamlbuild_prefix.ml	2012-08-07 20:41:44.000000000 -0500
+@@ -342,7 +342,7 @@
+               for increased compatibility with GNU sed. Since FreeBSD still
+               supports 7.x that does not has -r, so use -E instead. The -r
+               does not exist in MacOS X sed either. *)
+-           if is_fbsd && is_mac then
++           if is_fbsd || is_mac then
+              Cmd(S[sed; A"-E"; A sedexpr; P(env "%.mllibp"); Sh">"; P(env "%.mllib")])
+            else
+              Cmd(S[sed; A"-r"; A sedexpr; P(env "%.mllibp"); Sh">"; P(env "%.mllib")]));



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