Opened 16 years ago

Closed 16 years ago

Last modified 8 years ago

#15111 closed defect (fixed)

unable to install gtk2 with no_x11

Reported by: maidaro@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I tried to install gtk2 with no_x11 and quartz variants, error message, "Error: Target org.macports.fetch returned: pango must be installed with the no_x11 variant enabled.", is always displayed and install was stopped.

After I modified Portfile of gtk2 like below, I could build and install gtk2 successfully.

--- Portfile	2008-04-23 17:16:04.000000000 +0900
+++ Portfile~	2008-04-22 06:38:35.000000000 +0900
@@ -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."
         }
+        error "pango must be installed with the no_x11 variant enabled."
     }
 }

Attachments (1)

patch_gtk2_no_x11.patch (503 bytes) - added by maidaro@… 16 years ago.
patch gtk2's portfile for no_x11

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by maidaro@…

Attachment: patch_gtk2_no_x11.patch added

patch gtk2's portfile for no_x11

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to nox@…

Assigning to maintainer.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

It looks to me like the attached patch is reversed.

comment:3 Changed 16 years ago by sfiera@…

Resolution: fixed
Status: newclosed

Resolved by r36380 -- it's openmaintainer, and it's a quick fix after a few days.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gtk2 removed
Port: gtk2 added
Note: See TracTickets for help on using tickets.