Ticket #40553: Portfile-goffice.diff

File Portfile-goffice.diff, 896 bytes (added by c.herbig@…, 11 years ago)
  • Portfile

    old new  
    2323if {${name} eq ${subport}} {
    2424    epoch               1
    2525    version             0.10.7
     26    revision            1
    2627
    2728    license             {GPL-2 GPL-3}
    2829
     
    3637
    3738    configure.args-append   --enable-introspection
    3839
    39     variant quartz description {Build with gtk-osx-application} {
    40         depends_lib-append  port:gtk-osx-application
    41 
    42         patchfiles-append   patch_quartz-goffice-goffice.c.diff
    43     }
    44 
    45     if {[variant_isset quartz]} {
    46         require_active_variants gtk3 quartz
    47         require_active_variants gtk-osx-application gtk3
    48     }
     40    # in the case that gtk-osx-application has been installed, this patch fixes a build error
     41    patchfiles-append   patch_quartz-goffice-goffice.c.diff
    4942
    5043    livecheck.type      gnome
    5144} else {