Thanks for finding and looking into the dep file issue. With ldap installed, the curl build coughs up an error of missing ldap, so I first thought I had to have ldap installed. Later realized to use the --disable-ldap flag.
I had to take care of some other stuff today, I will fix curl.tcz.dep now.