$OpenBSD: patch-tests_libpeas_plugins_extension-python_Makefile_in,v 1.4 2014/10/04 19:41:13 jasper Exp $

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

--- tests/libpeas/plugins/extension-python/Makefile.in.orig	Mon Sep 22 16:37:44 2014
+++ tests/libpeas/plugins/extension-python/Makefile.in	Sat Oct  4 16:54:43 2014
@@ -559,14 +559,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.
