When MacPorts finished installing all the dependencies and tried building Wine, I got this error:
Error: wine 1.0.1 is not compatible with Mac OS X 10.6 or later. Until wine 1.2 is released, please install wine-devel instead. Error: Target org.macports.fetch returned: incompatible Mac OS X version Error: Status 1 encountered during processing.
This seemed simple enough, but when I tried installing wine-devel, I got:
Error: You cannot install wine-devel for the architecture(s) i386 Error: because /opt/local/lib/libexpat.dylib only contains the architecture(s) x86_64. Error: Try reinstalling the port that provides /opt/local/lib/libexpat.dylib with the +universal variant. Error: Target org.macports.extract returned: incompatible architectures in dependencies Error: Status 1 encountered during processing.
Basically, I had all the dependencies installed, but without the 32-bit support needed by Wine. So, like matt, I'm going through each dependency by looking at the error messages I get from trying to install wine-devel, and typing:
sudo port upgrade --enforce-variants PORTNAME +universal
Is there any way to tell MacPorts to simply do this for all of wine-devel's dependencies?