[MacPorts] #59333: gtk3: configure Failed to configure

MacPorts noreply at macports.org
Tue Oct 15 19:04:05 UTC 2019


#59333: gtk3: configure Failed to configure
---------------------+----------------------
  Reporter:  iEFdev  |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.1
Resolution:          |   Keywords:
      Port:  gtk3    |
---------------------+----------------------

Comment (by kencu):

 yes, cups is too old on 10.7 and less, I guess. It needs cups 1.7. Not
 sure when the OS got that version. This patch should work -- building now.
 Perhaps we can find some method to add an updated cups to older OS
 versions in MacPorts....
 {{{
 diff --git gnome/gtk3/Portfile gnome/gtk3/Portfile
 index 964cfe58a41..59f8ea97083 100644
 --- gnome/gtk3/Portfile
 +++ gnome/gtk3/Portfile
 @@ -143,8 +143,6 @@ platform darwin {
          if {[variant_isset quartz] || ![variant_isset x11]} {
              configure.ldflags-append  -framework Cocoa -framework Carbon
          }
 -
 -        configure.args-append --disable-cups
      }

      if {${os.major} <= 10} {
 @@ -153,6 +151,10 @@ platform darwin {
              patchfiles-append   patch-gdk_quartz_gdkcursor-quartz-
 10_6_compat.diff
          }
      }
 +    if {${os.major} <= 12} {
 +        # requires cups 1.7
 +        configure.args-append --disable-cups
 +    }
  }

  if {[variant_isset universal]} {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59333#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list