svn commit: r302269 - in head/lang/opa: . files

Jeremy Messenger mezz at FreeBSD.org
Wed Aug 8 02:04:57 UTC 2012


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")]));



More information about the svn-ports-all mailing list