[MacPorts] #23952: curlftpfs on macbook pro 2,1

MacPorts noreply at macports.org
Thu Dec 2 15:20:20 PST 2010


#23952: curlftpfs on macbook pro 2,1
-------------------------------------+--------------------------------------
 Reporter:  faruk.tuefekli@…         |       Owner:  darenzana@…        
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  1.8.2              
 Keywords:                           |        Port:  curlftpfs          
-------------------------------------+--------------------------------------
Changes (by dports@…):

 * cc: dports@… (added)


Comment:

 It looks like MacFUSE #defines __FreeBSD__ to 10 (for Mac OS "10") to
 indicate that it's running on a Mac. This is a really awful hack that lets
 it use `#ifdef __FreeBSD__` to detect OS X or FreeBSD and `#if
 (__FreeBSD__ >= 10)` to detect OS X specifically. Unfortunately, it does
 that in the header files too so ports that use fuse have to #define it
 too, causing problems like this.

 This really needs to be fixed in MacFUSE, but it'd be a pretty large
 change so I'm not sure if having the port try to patch it is a good idea.
 There might also be backwards-compatibility issues...

-- 
Ticket URL: <https://trac.macports.org/ticket/23952#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list