Date: Thu, 13 Dec 2007 18:52:36 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Dirk Meyer <dirk.meyer@dinoex.sub.org> Cc: freebsd-ports@freebsd.org Subject: Re: serious error possibly related to bsd.*.mk Message-ID: <47616354.8050505@icyb.net.ua> In-Reply-To: <KH0kgeIvbS@dmeyer.dinoex.sub.org> References: <47611DC7.20008@icyb.net.ua> <476101F5.9040803@icyb.net.ua> <e890cae60712130228v6382c9e7vedd366ff29603cff@mail.gmail.com> <47611DC7.20008@icyb.net.ua> <4761254B.9070304@icyb.net.ua> <KH0kgeIvbS@dmeyer.dinoex.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 13/12/2007 15:56 Dirk Meyer said the following: > Hallo Andriy Gapon, >> Here's diff between old and new options just in case: >> --- /tmp/options Mon May 21 11:12:22 2007 >> +++ /var/db/ports/graphviz/options Thu Dec 13 14:27:03 2007 >> @@ -1,12 +1,18 @@ >> # This file is auto-generated by 'make config'. >> # No user-servicable parts inside! >> -# Options for graphviz-2.12_2 >> -_OPTIONS_READ=graphviz-2.12_2 >> +# Options for graphviz-2.16 >> +_OPTIONS_READ=graphviz-2.16 >> WITH_TK=true >> WITH_XPM=true >> WITH_ICONV=true >> WITH_NLS=true >> WITH_PANGOCAIRO=true >> +WITH_GTK=true >> +WITHOUT_GDK_PIXBUF=true >> +WITH_GNOMEUI=true >> +WITHOUT_DIGCOLA=true >> +WITHOUT_IPSEPCOLA=true >> +WITHOUT_MING=true >> WITH_PERL=true >> WITHOUT_PHP=true >> WITH_PYTHON=true > > That is very strange. > I habe no idea yet why this fails. I noticed that if comment out WITH_GTK in the options file or turn off GTK option via 'make config' (so that it becomes WITHOUT_GTK) then the problem comes back. So there must be something 'magic' about it. Hmm, if I comment out the following lines: .if defined(WITH_GTK) .include "${PORTSDIR}/Mk/bsd.gnome.mk" .endif Then I also get the error: "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional (${_USE_GNOME_ALL:Mpango}=="") "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional (${_USE_GNOME_ALL:Mgtk20}=="") "/usr/ports/Mk/bsd.gnome.mk", line 643: Malformed conditional (${_USE_GNOME_ALL:Mlibgnomeui}=="") So it seems that in this case bsd.gnome.mk still gets sucked in but in some improper way. This probably happens when 'IGNORE' should have became active i.e. GTK is off but something depending on it is on. Having though about it - maybe this is because USE_GNOME becomes defined so bsd.gnome.mk get included via bsd.port.mk (via bsd.port.post.mk, in turn). I think there could be two solutions: either not set USE_GNOME unless WITH_GTK is defined or add "or" case for USE_GNOME before inclusion of bsd.gnome.mk. Or even include it unconditionally. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47616354.8050505>