--- data/Makefile.in.orig	2019-05-09 06:57:27 UTC
+++ data/Makefile.in
@@ -863,7 +863,7 @@ $(STROKES_DB): $(STROKES) $(STROKES_AWK)
 
 $(desktop_files): $(desktop_in_files) Makefile
 	$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-	sed -i -e 's|@libexecdir[@]|$(libexecdir)|g' \
+	sed -i '' -e 's|@libexecdir[@]|$(libexecdir)|g' \
 	-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
