mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
Use LibreSSL on OpenBSD build, yes it does work
This commit is contained in:
parent
e4bd2c3cd9
commit
78c07db888
@ -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
|
FSPREFIX=/usr/local/freeswitch
|
||||||
PREFIX=$(FSPREFIX)
|
PREFIX=$(FSPREFIX)
|
||||||
DOWNLOAD=http://files.freeswitch.org/downloads/libs
|
DOWNLOAD=http://files.freeswitch.org/downloads/libs
|
||||||
OPENSSL=1.0.1h
|
LIBRESSL=2.0.3
|
||||||
LIBEDIT=20140618-3.1
|
LIBEDIT=20140618-3.1
|
||||||
CURL=7.35.0
|
CURL=7.35.0
|
||||||
|
|
||||||
@ -37,14 +37,14 @@ clean:
|
|||||||
has-git:
|
has-git:
|
||||||
@git --version || PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r 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)
|
@PKG_PATH=http://openbsd.mirrors.pair.com/`uname -r`/packages/`machine -a`/ pkg_add -r $(PKG)
|
||||||
|
|
||||||
openssl: openssl-$(OPENSSL)/Makefile
|
libressl: libressl-$(LIBRESSL)/Makefile
|
||||||
openssl-$(OPENSSL)/Makefile: openssl-$(OPENSSL)
|
libressl-$(LIBRESSL)/Makefile: libressl-$(LIBRESSL)
|
||||||
openssl-$(OPENSSL):
|
libressl-$(LIBRESSL):
|
||||||
(test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
|
(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-$(LIBEDIT)/Makefile
|
||||||
libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT)
|
libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user