From 31f98efc5cce6104c475b7c0ce1e9c3a76535178 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 22 Jul 2014 13:54:03 -0500 Subject: [PATCH] OpenBSD FTW --- build/Makefile.openbsd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/Makefile.openbsd b/build/Makefile.openbsd index 3ad18426cb..444471066f 100644 --- a/build/Makefile.openbsd +++ b/build/Makefile.openbsd @@ -8,8 +8,7 @@ # PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wget pcre speex libldns -FSPREFIX=/usr/local/freeswitch -PREFIX=$(FSPREFIX) +PREFIX=/usr/local/freeswitch DOWNLOAD=http://files.freeswitch.org/downloads/libs LIBRESSL=2.0.3 LIBEDIT=20140618-3.1 @@ -19,7 +18,7 @@ freeswitch: has-git deps freeswitch.git/Makefile cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize gmake freeswitch.git/Makefile: freeswitch.git/configure - cd freeswitch.git && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig ./configure LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' --prefix=$(FSPREFIX) + cd freeswitch.git && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig ./configure LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' --prefix=$(PREFIX) freeswitch.git/configure: freeswitch.git/bootstrap.sh cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize sh bootstrap.sh @@ -57,5 +56,5 @@ curl-$(CURL)/.done: curl-$(CURL) curl-$(CURL): (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz) (rm -rf $(PREFIX)/lib/libcurl.*) - (cd $@ && PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:$PKG_CONFIG_PATH LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath-link=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done) + (cd $@ && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig:$PKG_CONFIG_PATH LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath-link=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done)