$OpenBSD: patch-rebar_config,v 1.2 2013/03/17 14:55:40 jasper Exp $

commit 7071ab370d3de9eb152f65cbcc11be3db1e85199
Author: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date:   Mon Mar 11 11:43:20 2013 +0100

    Fixup linking on OpenBSD.
    https://github.com/opscode/chef_certgen/pull/1

--- rebar.config.orig	Mon Mar 11 11:26:58 2013
+++ rebar.config	Mon Mar 11 11:28:04 2013
@@ -2,8 +2,8 @@
 
 {port_env, [ %% Make sure to link -lstdc++ on linux or solaris
              {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
-             %% Make sure to link directly on linux
-             {"(linux)", "ERL_LDFLAGS", "$LDFLAGS $ERL_LDFLAGS -lcrypto"},
+             %% Make sure to link directly on linux or openbsd
+             {"(linux|openbsd)", "ERL_LDFLAGS", "$LDFLAGS $ERL_LDFLAGS -lcrypto"},
              %% OS X Leopard flags for 64-bit
              {"darwin9.*-64$", "CXXFLAGS", "-m64"},
              {"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},
