freebsd-ports/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh
Jeremy Messenger 2697454b55 - 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)
2012-08-08 02:04:56 +00:00

8 lines
483 B
Bash

--- lib/stdlib/extract-import-plugin.sh.orig 2012-08-02 22:02:49.000000000 -0500
+++ lib/stdlib/extract-import-plugin.sh 2012-08-02 22:03:27.000000000 -0500
@@ -4,4 +4,4 @@
# source platform_helper (for sed)
. ${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/}//" -e "s/, /,/g" | tr ',' '\n'