jaromail

a commandline tool to easily and privately handle your e-mail
git clone git://parazyd.org/jaromail.git
Log | Files | Refs | Submodules | README

commit d030e29c0e86b1d7a48e08e07eaffca25b55cfae
parent 708316493dee8c6675c118fa90c6e5b05be70e7c
Author: Jaromil <jaromil@dyne.org>
Date:   Thu, 11 Dec 2014 14:11:22 +0100

osx build fixes done with dan

Diffstat:
Mbuild/build-osx.sh | 34+++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/build/build-osx.sh b/build/build-osx.sh @@ -83,28 +83,48 @@ copydeps() { print "Building Jaro Mail binary stash for Apple/OSX" + if ! [ -r /opt/local/bin/port ]; then print "MacPorts not found in /opt/local. Operation aborted." return 1 fi -{ test "$target" = "abquery" } || { +# { test "$target" = "abquery" } || { +# test "$target" = "all" } && { +# # build apple addressbook query +# print "Address book query" +# pushd src/ABQuery +# xcodebuild > /dev/null +# popd +# } + +{ test "$target" = "dfasyn" } || { test "$target" = "all" } && { -# build apple addressbook query - print "Address book query" - pushd src/ABQuery - xcodebuild > /dev/null + pushd src/mairix/dfasyn + ./configure + make popd } +{ test "$target" = "mairix" } || { + test "$target" = "all" } && { + pushd src/mairix + print "Building Mairix" + ./configure + make + popd +} { test "$target" = "fetchaddr" } || { test "$target" = "all" } && { # build our own address parser pushd src print "Address parser" - $cc ${=cflags} -c fetchaddr.c helpers.c rfc2047.c rfc822.c - $cc -o fetchaddr fetchaddr.o helpers.o rfc2047.o rfc822.o ${=ldflags}; + $cc ${=cflags} -c fetchaddr.c + $cc ${=cflags} -c helpers.c + $cc ${=cflags} -c rfc2047.c + $cc ${=cflags} -c rfc822_mutt.c + $cc -o fetchaddr fetchaddr.o helpers.o rfc2047.o rfc822_mutt.o ${=ldflags}; popd }