$OpenBSD: patch-tests_libpeas_plugins_extension-python_Makefile_in,v 1.3 2014/03/31 09:58:33 jasper Exp $

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

--- tests/libpeas/plugins/extension-python/Makefile.in.orig	Mon Mar 31 11:00:13 2014
+++ tests/libpeas/plugins/extension-python/Makefile.in	Mon Mar 31 11:41:50 2014
@@ -560,14 +560,14 @@ extension-py.%:
 
 extension-python.gschema.xml extension-python3.gschema.xml: extension-py.gschema.xml
 	$(AM_V_GEN) cp $< $@ && \
-	$(SED) -i -e 's%PY_LOADER%$(@:extension-%.gschema.xml=%)%g' $@
+	/usr/bin/perl -pi -e 's%PY_LOADER%$(@:extension-%.gschema.xml=%)%g' $@
 
 extension-python.py extension-python3.py: extension-py.py
 	$(AM_V_GEN) $(LN_S) $< $@
 
 extension-python.plugin extension-python3.plugin: extension-py.plugin
 	$(AM_V_GEN) cp $< $@ && \
-	$(SED) -i -e 's%PY_LOADER%$(@:extension-%.plugin=%)%g' $@
+	/usr/bin/perl -pi -e 's%PY_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.
