The log says there are undefined curl symbols, because:
:info:build ld: warning: ignoring file /Library/Frameworks/libcurl.framework/libcurl, missing required architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl (2 slices)
Please remove the file /Library/Frameworks/libcurl.framework; it interferes with the cmake installation. Installing frameworks in /Library/Frameworks is much like installing libraries in /usr/local and is not supported while using MacPorts. See wiki:FAQ#usrlocal