]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Use LibreSSL on OpenBSD build, yes it does work
authorBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 12:27:38 +0000 (07:27 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 12:27:38 +0000 (07:27 -0500)
build/Makefile.openbsd

index c35e33b3451eb59ea715f314cf75f689224b2a9e..49aa239ee4ff9f1e06ce2f7a3b72d7a863241800 100644 (file)
@@ -11,7 +11,7 @@ PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wge
 FSPREFIX=/usr/local/freeswitch
 PREFIX=$(FSPREFIX)
 DOWNLOAD=http://files.freeswitch.org/downloads/libs
-OPENSSL=1.0.1h
+LIBRESSL=2.0.3
 LIBEDIT=20140618-3.1
 CURL=7.35.0
 
@@ -37,14 +37,14 @@ clean:
 has-git:
        @git --version || PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r git
 
-deps: libedit openssl curl
+deps: libedit libressl curl
        @PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r $(PKG)
 
-openssl: openssl-$(OPENSSL)/Makefile
-openssl-$(OPENSSL)/Makefile: openssl-$(OPENSSL)
-openssl-$(OPENSSL):
+libressl: libressl-$(LIBRESSL)/Makefile
+libressl-$(LIBRESSL)/Makefile: libressl-$(LIBRESSL)
+libressl-$(LIBRESSL):
        (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
-       (cd $@ && ./Configure --prefix=$(PREFIX) BSD-x86_64 shared && make && sudo make install)
+       (cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
 
 libedit: libedit-$(LIBEDIT)/Makefile
 libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT)