Opened 14 years ago
Closed 14 years ago
#25138 closed defect (fixed)
arpack default variant not handled correctly
Reported by: | anddam (Andrea D'Amore) | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | arpack |
Description
The default_variant if condition in Portfile is placed after the if/elseif/else that executes 'set gccversion 4.x'.
This way when no variant is explicitly selected gccversion is set to 4.5, the last else branch, even if default_variant is gcc44.
The build breaks and there are gcc45 references in compiler linker flags:
shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_arpack/work/ARPACK && /usr/bin/ld -arch x86_64 -dynamic -dylib -single_module -dead_strip -x -all_load -L. -L/opt/local/lib/gcc45/x86_64 -L/opt/local/lib/gcc45 -L/opt/local/lib -dylib_install_name /opt/local/lib/libarpack.1.dylib -current_version 1 -compatibility_version 1 libarpack.a -o libarpack.1.dylib -latlas -llapack -lgfortran -lSystem" returned error 1
I'm attaching a patch
Attachments (1)
Change History (2)
Changed 14 years ago by anddam (Andrea D'Amore)
Attachment: | patch-arpack.diff added |
---|
comment:1 Changed 14 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r68541.