Ticket #31261 (closed defect: duplicate)
root: configure fails when file port is installed and xorg-libX11 is universal
|Reported by:||ryandesign@…||Owned by:||jonesc@…|
The root port fails to install if the file port is installed, and the xorg-libX11 port is installed with the universal variant.
The root port's configure script attempts to verify that its dependencies are installed for the correct architectures. While this is a fine goal, it does so using the file command and grepping the output for "64-bit". Apple's version of the file command shipped with Mac OS X does have this output for universal and non-universal 64-bit files, but the file port's file command only does this for non-universal files; it doesn't understand universal files.
The simplest solution for us is to just rip out this architecture verification code from root's configure script, since MacPorts base already includes architecture verification code.