[MacPorts] #15141: gtk2 2.12.9_0 +no_x11 fails to build
MacPorts
noreply at macports.org
Thu Mar 24 08:56:36 PDT 2016
#15141: gtk2 2.12.9_0 +no_x11 fails to build
------------------------------+--------------------------------
Reporter: damjan.marion@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Resolution: duplicate | Keywords:
Port: gtk2 |
------------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => gtk2
Old description:
> 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."
> + }
> }
> }
New description:
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: <https://trac.macports.org/ticket/15141#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list