Ticket #30383: change_libfuse4x_to_libfuse.diff
File change_libfuse4x_to_libfuse.diff, 1.1 KB (added by anatol (Anatol Pomozov), 13 years ago) |
---|
-
Portfile
5 5 6 6 name fuse4x 7 7 version 0.8.8 8 revision 1 8 9 set tag [string map {. _ } $version] 9 10 categories fuse devel 10 11 platforms macosx … … 46 47 set kextdir "${prefix}/Library/Extensions" 47 48 post-patch { 48 49 reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h 50 51 # Default fuse4x uses libfuse4x name for dylibs to allow coexist it with macfuse installation. 52 # But in macports these 2 packages are conflicting anyway so there is no reason to use libfuse4x, 53 # let's change it to libfuse.dylib so you don't need to change dependent ports to use fuse4x. 54 reinplace "s|-lfuse4x|-lfuse|" ${worksrcpath}/fuse.pc.in 55 reinplace "s|libfuse4x|libfuse|g" ${worksrcpath}/lib/Makefile.am 56 reinplace "s|libfuse4x.la|libfuse.la|" ${worksrcpath}/example/Makefile.am 49 57 } 50 58 51 59 configure.ldflags -framework CoreFoundation