Ticket #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: | gtk2 | Cc: | |
| Port: |
Description
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
Change History
Changed 5 years ago by maidaro@…
- Attachment patch_gtk2_no_x11.patch added
comment:1 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to nox@…
- Milestone set to Port Bugs
Assigning to maintainer.
Note: See
TracTickets for help on using
tickets.


patch gtk2's portfile for no_x11