Opened 12 years ago
Closed 12 years ago
#34672 closed defect (fixed)
fltk, fltk-devel: fltk-config includes -arch flags
Reported by: | jerome.lelong@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | michaelld (Michael Dickens) |
Port: | fltk, fltk-devel |
Description
Octave with variants fltk and gcc46 fails to link because the flag -arch x86_64 is not recognized by gcc46. This flag is added to LDFLAGS by fltk-config during the configure step. Replacing the patch patch-configure.diff by patch-configure_2.diff solves the issue and octave builds properly. However a better solution would be to prevent fltk-config from adding the -arch flag
Attachments (2)
Change History (5)
Changed 12 years ago by jerome.lelong@…
Attachment: | patch-configure_2.diff added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michaelld@… added |
---|---|
Port: | fltk added; octave-devel removed |
Summary: | octave-devel @3.4.3 +fltk +gcc46 : linking failure → fltk: fltk-config includes -arch flags |
Fix it in fltk, not octave. wiki:PortfileRecipes#archflags
Changed 12 years ago by jerome.lelong@…
Remove -arch flag form fltk-config
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | fltk-devel added |
Status: | new → assigned |
Summary: | fltk: fltk-config includes -arch flags → fltk, fltk-devel: fltk-config includes -arch flags |
Thanks. In the future, it's easier to evaluate your changes if you supply a unified diff instead of an entire new portfile.
This new portfile you attached was for fltk-devel but the fltk port is also affected. I'll fix both.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r93776.
Remove -arch x86_64 flag