Revision: 81459 http://trac.macports.org/changeset/81459 Author: dports@macports.org Date: 2011-07-30 23:36:16 -0700 (Sat, 30 Jul 2011) Log Message: ----------- fuse4x: install library as libfuse.dylib rather than libfuse4x.dylib. The port conflicts with macfuse anyway, so there's no need to keep them separate, and this will make it easier for dependent ports to find the library. Modified Paths: -------------- trunk/dports/fuse/fuse4x/Portfile Modified: trunk/dports/fuse/fuse4x/Portfile =================================================================== --- trunk/dports/fuse/fuse4x/Portfile 2011-07-31 05:12:33 UTC (rev 81458) +++ trunk/dports/fuse/fuse4x/Portfile 2011-07-31 06:36:16 UTC (rev 81459) @@ -5,6 +5,7 @@ name fuse4x version 0.8.8 +revision 1 set tag [string map {. _ } $version] categories fuse devel platforms macosx @@ -46,6 +47,14 @@ set kextdir "${prefix}/Library/Extensions" post-patch { reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h + + # Fuse4X normally installs its library as libfuse4x.dylib to allow + # it to co-exist with MacFUSE, but the ports are conflicting so we + # don't need to worry about that. Instead, we'll install it as + # libfuse.dylib so dependent ports don't need to be modified. + reinplace "s|-lfuse4x|-lfuse|" ${worksrcpath}/fuse.pc.in + reinplace "s|libfuse4x|libfuse|g" ${worksrcpath}/lib/Makefile.am + reinplace "s|libfuse4x.la|libfuse.la|" ${worksrcpath}/example/Makefile.am } configure.ldflags -framework CoreFoundation
participants (1)
-
dports@macports.org