sed(1) doesn't support -i, so use perl(1) instead, drops hidden gsed dependency

This commit is contained in:
jasper 2011-09-23 11:25:12 +00:00
parent 63afbbb961
commit 061e30272d

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-tests_libpeas_plugins_extension-js_Makefile_in,v 1.1 2011/09/23 11:25:12 jasper Exp $
sed(1) doesn't support -i, so use perl(1) instead.
--- tests/libpeas/plugins/extension-js/Makefile.in.orig Fri Sep 23 13:16:18 2011
+++ tests/libpeas/plugins/extension-js/Makefile.in Fri Sep 23 13:16:45 2011
@@ -471,7 +471,7 @@ extension-js.%:
%.plugin: extension-js.plugin
$(AM_V_GEN) cp $< $@ && \
- $(SED) -i -e 's/JS_LOADER/$(@:extension-%.plugin=%)/' $@
+ /usr/bin/perl -pi -e 's/JS_LOADER/$(@:extension-%.plugin=%)/' $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.