New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81459


Ignore:
Timestamp:
07/30/11 23:36:16 (4 years ago)
Author:
dports@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/fuse/fuse4x/Portfile

    r81149 r81459  
    66name                fuse4x 
    77version             0.8.8 
     8revision            1 
    89set tag             [string map {. _ } $version] 
    910categories          fuse devel 
     
    4748post-patch { 
    4849    reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h 
     50 
     51    # Fuse4X normally installs its library as libfuse4x.dylib to allow 
     52    # it to co-exist with MacFUSE, but the ports are conflicting so we 
     53    # don't need to worry about that. Instead, we'll install it as 
     54    # libfuse.dylib so dependent ports don't need to be modified. 
     55    reinplace "s|-lfuse4x|-lfuse|" ${worksrcpath}/fuse.pc.in 
     56    reinplace "s|libfuse4x|libfuse|g" ${worksrcpath}/lib/Makefile.am 
     57    reinplace "s|libfuse4x.la|libfuse.la|" ${worksrcpath}/example/Makefile.am 
    4958} 
    5059 
Note: See TracChangeset for help on using the changeset viewer.