#!/bin/bash


mkdir -p $PREFIX/etc/pki/tls/certs
#use system curl, or whatever comes with anaconda to get the CA certificates
curl http://curl.haxx.se/ca/cacert.pem -o $PREFIX/etc/pki/tls/certs/cacert.pem
#wget -O $PREFIX/etc/pki/tls/certs/cacert.pem http://curl.haxx.se/ca/cacert.pem

#This won't build on OSX without this
export DYLD_LIBRARY_PATH=$PREFIX

#Actually install curl over the broken anaconda version
./configure --prefix=$PREFIX --disable-ldap --with-ssl=$PREFIX --with-zlib=$PREFIX --with-ca-bundle=$PREFIX/etc/pki/tls/certs/cacert.pem
make
make install

#!/bin/bash


mkdir -p $PREFIX/etc/pki/tls/certs
#use system curl, or whatever comes with anaconda to get the CA certificates
curl http://curl.haxx.se/ca/cacert.pem -o $PREFIX/etc/pki/tls/certs/cacert.pem
#wget -O $PREFIX/etc/pki/tls/certs/cacert.pem http://curl.haxx.se/ca/cacert.pem

#This won't build on OSX without this
export DYLD_LIBRARY_PATH=$PREFIX/lib

#Actually install curl over the broken anaconda version
./configure --prefix=$PREFIX --disable-ldap --with-ssl=$PREFIX --with-zlib=$PREFIX --with-ca-bundle=$PREFIX/etc/pki/tls/certs/cacert.pem
make
make install

Fix failing congfigure script for curl
Fix failing congfigure script for curl
