Ticket #7082 (closed defect: fixed)
BUG: XviD-1.1.0 does not build on Intel Mac
| Reported by: | abarnert@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Compiling on an Intel DTS box or an Intel iMac, I get a slew of errors related to inline assembly code. I didn't really look at the errors (because I had so many packages with asm errors, with or without dports), but I do know that if I pass --disable-assembly to configure, it works.
I was able to get it to build locally by adding "configure.args-append --disable-assembly" in the variant darwin stub, but that's obviously not a good solution (it would disable PPC assembly as well).
I think the right solution looks something like this:
variant x86 {
configure.args-append --disable-assembly
}
But until my PPC Mac is working again, I can't test that, and I don't know dports well enough to know whether I'm doing this right, so I'm just submitting this as a bug instead of a patch.
Attachments
Change History
Changed 7 years ago by matt@…
- Attachment Portfile.diff added


Diff for XviD's portfile