$OpenBSD: patch-tests_libpeas_plugins_extension-js_Makefile_in,v 1.5 2012/11/25 13:18:46 jasper Exp $

sed(1) doesn't support -i, so use perl(1) instead.

--- tests/libpeas/plugins/extension-js/Makefile.in.orig	Sun Nov 25 11:18:52 2012
+++ tests/libpeas/plugins/extension-js/Makefile.in	Sun Nov 25 14:11:20 2012
@@ -537,14 +537,14 @@ extension-js.%:
 
 extension-gjs.gschema.xml extension-seed.gschema.xml: extension-js.gschema.xml
 	$(AM_V_GEN) cp $< $@ && \
-	$(SED) -i -e 's%JS_LOADER%$(@:extension-%.gschema.xml=%)%g' $@
+	/usr/bin/perl -pi -e 's%JS_LOADER%$(@:extension-%.gschema.xml=%)%g' $@
 
 extension-gjs.js extension-seed.js: extension-js.js
 	$(AM_V_GEN) $(LN_S) $< $@
 
 extension-gjs.plugin extension-seed.plugin: extension-js.plugin
 	$(AM_V_GEN) cp $< $@ && \
-	$(SED) -i -e 's%JS_LOADER%$(@:extension-%.plugin=%)%g' $@
+	/usr/bin/perl -pi -e 's%JS_LOADER%$(@:extension-%.plugin=%)%g' $@
 
 # 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.
