freebsd-ports/devel/erlang-gpb/files/patch-include_gpb__version.hrl.in
Jimmy Olgeni 7c379d30cc Add devel/erlang-gpb, a Google Protobuf implementation for Erlang.
We already had devel/erlang-protobuffs, but this is used by the Elixir
Protobuf port too.
2015-07-14 10:49:55 +00:00

10 lines
331 B
Erlang

--- include/gpb_version.hrl.in.orig 2015-07-14 10:14:25 UTC
+++ include/gpb_version.hrl.in
@@ -5,6 +5,6 @@
%% at build-time, see the rebar.config or the Makefile
%% NB: The build/mk_version_hrl depends on the exact wording
--define(gpb_version, "@vsn@").
+-define(gpb_version, "%%PORTVERSION%%").
-endif. %% gpb_version_hrl