forked from Lainports/freebsd-ports
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)
8 lines
483 B
Bash
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'
|