[MacPorts] #15141: gtk2 2.12.9_0 +no_x11 fails to build

MacPorts trac at macosforge.org
Sun Apr 27 09:33:33 PDT 2008


#15141: gtk2 2.12.9_0 +no_x11 fails to build
-------------------------------------+--------------------------------------
 Reporter:  damjan.marion at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.6.0                                
 Keywords:                           |  
-------------------------------------+--------------------------------------
 GTK2 cannot be built when no_x11 variant is used with following error:

 pango must be installed with the no_x11 variant enabled.

 But pango is built with no_x11.
 # port installed | grep pango
   pango @1.20.2_0+no_x11 (active)

 Seems that error message is misplaced in Portfile and it should be before
 closing bracket. Following patch solves this issue:

 --- Portfile.orig       2008-04-27 18:23:44.000000000 +0200
 +++ Portfile    2008-04-27 18:25:43.000000000 +0200
 @@ -116,8 +116,8 @@
      pre-fetch {
          if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} {
              ui_error "Please uninstall or deactivate the pango port and
 reinstall it by running `port install pango +no_x11`."
 -        }
          error "pango must be installed with the no_x11 variant enabled."
 +        }
      }
  }

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15141>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list