summaryrefslogtreecommitdiffstats
path: root/mail/alpine/BUILD
blob: 9447ed223134bb21803478396c301fb8ece83654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
if echo $OPTS | grep -q with-ssl; then
  message "${MESSAGE_COLOR}Building with OpenSSL...${DEFAULT_COLOR}" &&
  ALPINE_OPTS="${ALPINE_OPTS}                                        \
           --with-ssl-dir=$INSTALL_ROOT/usr                          \
           --with-ssl-certs-dir=$INSTALL_ROOT/etc/ssl/certs          \
           --with-ssl-include-dir=$INSTALL_ROOT/usr/include/openssl  \
           --with-ssl-lib-dir=$INSTALL_ROOT/usr/lib"
else
  message "${MESSAGE_COLOR}Building without OpenSSL...${DEFAULT_COLOR}"
fi &&

OPTS="${OPTS} --with-system-pinerc=/etc/pinerc --with-c-client-target=slx ${ALPINE_OPTS}" &&
default_build