Koen van der Drift wrote: []
perl -pi.bak -e 's|join " ", map { "-I$EMB_SRC_ROOT/$_" } @emb_libs;|$EMB_SRC_ROOT;|' Makefile.PL
but that resulted in the following error:
Unmatched ( in regex; marked by <-- HERE in m/join " ", map { "-I/# ( <-- HERE if you did no "make install" of EMBOSS,
" } ;/ at -e line 1, <> line 11.
### execution of perl failed, exit code 255
You have to escape some special characters in the regexes, here in particular the "$", but it doesn't hurt to escape the other special symbols, too. I would try something like
perl -pi.bak -e 's|join \" \", map \{ \"\-I\$EMB_SRC_ROOT/\$_\" } [EMAIL PROTECTED];|\$EMB_SRC_ROOT;|' Makefile.PL
-- Martin
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel