Opened 13 years ago
Last modified 13 years ago
#33909 closed defect
libcrypt missing configure.compiler — at Initial Version
Reported by: | lkcl@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | libgcrypt |
Description
ok a little bit of investigation, after talking on IRC, configure.compiler is by default apparently set to llvm-gcc-4.2 on macports 2.0.4 (xcode 3.1.2)
however, llvm-gcc-4.2 isn't actually installed!
so a workaround was done - adding configure.compiler - and it was at least possible to get this library to build.
configure.args --disable-asm configure.compiler gcc-4.2
# Build fix for compilers that default to c99 (clang) configure.cflags-append "-std=gnu89"
if {[string match "*clang*" ${configure.compiler}]} {
# libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c
:notice:configure ---> Configuring libgcrypt :error:configure Target org.macports.configure returned: Invalid value for configure.compiler :debug:configure Backtrace: Invalid value for configure.compiler
while executing
"[ditem_key $ditem prerun] $targetname" :info:configure Warning: the following items did not execute (for libgcrypt): org.macports.build org.macports.configure :notice:configure Log for libgcrypt is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgcrypt/libgcrypt/main.log