$OpenBSD: patch-plugins-src_rabbitmq-erlang-client_Makefile,v 1.1 2012/01/13 20:54:25 sthen Exp $
--- plugins-src/rabbitmq-erlang-client/Makefile.orig	Tue Dec 20 16:35:38 2011
+++ plugins-src/rabbitmq-erlang-client/Makefile	Tue Dec 20 16:36:13 2011
@@ -39,7 +39,7 @@ distribution: documentation source_tarball package
 
 %.app: %.app.in $(SOURCES) $(BROKER_DIR)/generate_app
 	escript  $(BROKER_DIR)/generate_app $< $@ $(SOURCE_DIR)
-	sed -i.save 's/%%VSN%%/$(VERSION)/' $@ && rm $@.save
+	perl -pi -e 's/%%VSN%%/$(VERSION)/' $@
 
 ###############################################################################
 ##  Dialyzer
