ports/devel/py-gyp/files/patch-pylib_gyp_generator_make.py
Hiroki Sato 196453bfe4 Update japanese/mozc-server to 2.17.2322.102. Changes include:
- Use Github as the source.
- Depend on devel/py-gyp and japanese/zinnia because bundled versions have
  been removed from the original distfile.
- devel/py-gyp-devel has been updated to snapshot as of 20160504 and
  renamed with devel/py-gyp.  Take maintainership[*].
- Install mozc.el.gz instead of mozc.el.

Approved by:	maintainer [*]
2016-05-16 17:43:22 +00:00

11 lines
533 B
Python

--- pylib/gyp/generator/make.py.orig 2016-05-10 14:06:56 UTC
+++ pylib/gyp/generator/make.py
@@ -342,7 +342,7 @@ sed -e "s|^$(notdir $@)|$@|" $(depfile).
# We remove slashes and replace spaces with new lines;
# remove blank lines;
# delete the first line and append a colon to the remaining lines.
-sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
+env NL=`printf "\n"` sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
grep -v '^$$' |\
sed -e 1d -e 's|$$|:|' \
>> $(depfile)