Changeset 119755


Ignore:
Timestamp:
May 5, 2014, 5:52:45 PM (6 years ago)
Author:
devans@…
Message:

surf: add default variant +gui and drop +no_x11 which is a misnomer and broken to boot, patch configure to fix --enable-cups (#39383 #43582).

Location:
trunk/dports/math/surf
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/surf/Portfile

    r119745 r119755  
    2323                    sha256  8a5326bd50ed8c4e4c49f13dac3b4cf419944d2279d71b897faafcbdc3f99cd8
    2424
     25# libX11 is needed not only for the GUI option but also to support X11 image file formats
     26
    2527depends_lib         port:gmp \
    2628                    port:flex \
    27                     port:xorg-libXmu \
    2829                    port:jpeg \
    2930                    port:tiff \
    30                     port:gtk1
     31                    port:xorg-libX11
    3132
    32 variant no_x11 {
    33     depends_lib-delete port:gtk1
    34     configure.args-append --disable-gui
     33patchfiles          patch-configure.diff
     34
     35configure.args      --x-includes=${prefix}/include \
     36                    --x-libraries=${prefix}/lib \
     37                    --enable-cups=no \
     38                    --enable-gui=no
     39                   
     40variant gui description {Enable gtk1 based GUI} {
     41    depends_lib-append      port:gtk1 \
     42                            port:xorg-libXmu
     43    configure.args-delete   --enable-gui=no \
     44                            --enable-cups=no
    3545}
     46
     47default_variants +gui
    3648
    3749post-destroot {
Note: See TracChangeset for help on using the changeset viewer.