Revision: 90295 http://trac.macports.org/changeset/90295 Author: dports@macports.org Date: 2012-02-29 16:55:16 -0800 (Wed, 29 Feb 2012) Log Message: ----------- fuse4x-kext: disable MacFUSE compatibility mode; it doesn't help us. Modified Paths: -------------- trunk/dports/fuse/fuse4x-kext/Portfile Modified: trunk/dports/fuse/fuse4x-kext/Portfile =================================================================== --- trunk/dports/fuse/fuse4x-kext/Portfile 2012-02-29 18:49:25 UTC (rev 90294) +++ trunk/dports/fuse/fuse4x-kext/Portfile 2012-03-01 00:55:16 UTC (rev 90295) @@ -6,6 +6,7 @@ name fuse4x-kext version 0.9.0 +revision 1 set tag [string map {. _ } $version] categories fuse devel platforms macosx @@ -59,6 +60,9 @@ xcode.configuration Release +# Disable MacFUSE compatibility mode; not needed for the filesystems we build. +xcode.build.settings GCC_PREPROCESSOR_DEFINITIONS='FUSE4X_DISABLE_MACFUSE_MODE' + destroot.asroot yes destroot { @@ -70,8 +74,10 @@ xinstall -o root -m 4755 ${worksrcpath}/build/${xcode.configuration}/load_fuse4x ${destroot}${kextdir}/fuse4x.kext/Support } + variant trace description {Enable debug logging: logs all filesystem operations} { - xcode.build.settings-append GCC_PREPROCESSOR_DEFINITIONS='FUSE4X_DEBUG FUSE4X_TRACE FUSE4X_TRACE_LK FUSE4X_TRACE_MSLEEP FUSE4X_TRACE_OP FUSE4X_TRACE_VNCACHE FUSE4X_SERIALIZE_LOGGING' + # Note that this overrides the normal GCC_PREPROCESSOR_DEFINITIONS + xcode.build.settings GCC_PREPROCESSOR_DEFINITIONS='FUSE4X_DISABLE_MACFUSE_MODE FUSE4X_DEBUG FUSE4X_TRACE FUSE4X_TRACE_LK FUSE4X_TRACE_MSLEEP FUSE4X_TRACE_OP FUSE4X_TRACE_VNCACHE FUSE4X_SERIALIZE_LOGGING' } # We don't need to load the kext, because the fuse4x library will