Ticket #52281: gcr-Portfile.diff

File gcr-Portfile.diff, 2.2 KB (added by gwhitney, 8 years ago)

patch to gcr to alleviate x11 backend dependency; requires seven patchfiles attached hereafter

  • gnome/gcr/Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 153722 2016-10-09 05:07:38Z devans@macports.org $
     2# $Id: $
    33
    44PortSystem          1.0
    5 PortGroup           active_variants 1.1
    65PortGroup           gobject_introspection 1.0
    76
    87name                gcr
    98version             3.20.0
    10 revision            1
     9revision            2
    1110license             LGPL-2
    1211set branch          [join [lrange [split ${version} .] 0 1] .]
    1312description         GCR is a library for displaying certificates, and crypto UI, accessing \
     
    3130depends_build       port:pkgconfig \
    3231                    port:intltool \
    3332                    port:gtk-doc \
    34                     port:gnome-common \
    3533                    port:autoconf \
    3634                    port:automake \
    3735                    port:libtool
     
    4139                    port:gtk3 \
    4240                    port:p11-kit \
    4341                    port:libgcrypt \
     42                    port:gnupg \
    4443                    port:vala
    4544
    4645gobject_introspection yes
    4746
    4847patchfiles          patch-egg-egg-asn1x.h.diff \
    4948                    patch-egg-egg-armor.c.diff \
    50                     patch-ui-gcr.pc.in.diff
     49                    patch-ui-gcr.pc.in.diff \
     50                    patch-configure.ac.diff \
     51                    patch_gcr_gcr-prompt.c.diff \
     52                    patch_ui_gcr-prompt-dialog.h.diff \
     53                    patch_ui_gcr-prompt-dialog.c.diff \
     54                    patch_ui_gcr-prompter-tool.c.diff \
     55                    patch_ui_frob-prompt.c.diff \
     56                    patch_ui_frob-system-prompt.c.diff \
    5157
    52 # gcr uses X11 specific code in UI (#41839)
    53 # https://bugzilla.gnome.org/show_bug.cgi?id=734366
    54 # https://bugzilla.gnome.org/show_bug.cgi?id=688678
    5558
    56 require_active_variants port:gtk3 x11
     59variant x11 {
     60    depends_build-append   port:gnome-common
     61    patchfiles-delete      patch-configure.ac.diff
     62}
     63
     64default_variants    +x11
    5765
    5866# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
    5967