New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79664


Ignore:
Timestamp:
06/22/11 14:27:20 (4 years ago)
Author:
jeremyhu@…
Message:

libnotify: Don't install on Lion

Yes, I know it installs and runs fine, but when libnotify.dylib is present in
${prefix}/lib, it causes problems when linking future binaries. This results
in miscelaneous build failures and runtime failures that are difficult to
diagnose.

Rather than subject users to these problems, it is better to disable this port
until we can come up with a good solution for Lion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libnotify/Portfile

    r75241 r79664  
    2929} 
    3030 
     31platform darwin 11 { 
     32    pre-fetch { 
     33        # This port installs ${prefix}/lib/libnotify.dylib which gets 
     34        # picked up at link time instead of /usr/lib/system/libnotify.dylib 
     35        # leading to many build failures across MacPorts when it is installed. 
     36        # 
     37        # For now, let's block this port on Lion while we investigate our options. 
     38        ui_error "This port causes problems on Lion, so it will not be installed." 
     39        error "libnotify is not supported on Lion." 
     40    } 
     41 
     42    pre-activate { 
     43        # This port installs ${prefix}/lib/libnotify.dylib which gets 
     44        # picked up at link time instead of /usr/lib/system/libnotify.dylib 
     45        # leading to many build failures across MacPorts when it is installed. 
     46        # 
     47        # For now, let's block this port on Lion while we investigate our options. 
     48        ui_error "This port causes problems on Lion, so it will not be installed." 
     49        error "libnotify is not supported on Lion." 
     50    } 
     51} 
     52 
    3153depends_build       port:pkgconfig 
    3254depends_lib         port:gtk2 port:dbus-glib 
Note: See TracChangeset for help on using the changeset viewer.