New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79974


Ignore:
Timestamp:
06/30/11 21:20:52 (4 years ago)
Author:
ryandesign@…
Message:

xournal: bail with sensible error if gtk2 doesn't have x11 support; see #29992

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xournal/Portfile

    r77764 r79974  
    3636configure.ldflags-append -lz 
    3737 
     38pre-configure { 
     39    if {![file exists ${prefix}/include/gtk-2.0/gdk/gdkx.h]} { 
     40        ui_error "${name} requires gtk2 installed with X11 support; please reinstall gtk2 and all its dependencies with the +x11 variant." 
     41        return -code error "incompatible gtk2 installation" 
     42    } 
     43} 
     44 
    3845post-destroot { 
    3946    xinstall -d ${destroot}${prefix}/share/doc/${name} 
Note: See TracChangeset for help on using the changeset viewer.