[52043] trunk/dports/tex/texlive_base

Emmanuel Hainry milosh at macports.org
Tue Jun 9 07:33:27 PDT 2009


Citando Jeremy Huddleston :
>
> xdvi can use either motif or xaw.  It builds binaries for both if both  
> are available.
>
> xdvi-motif.bin is the file that actually links against it.
>
>>> +                port:xorg-libXaw lib:libXm:openmotif

Wouldn't it be better to enforce one of the two toolkits and put the
other in a variant? Something like

configure.args-append --with-xdvi-x-toolkit=xaw
variant motif {
	configure.args-delete --with-xdvi-x-toolkit=xaw
	configure.args-append --with-xdvi-x-toolkit=motif
	depends_lib-delete	port:xorg-libXaw
	depends_lib-append	lib:libXm:openmotif
}

-- 
Emmanuel Hainry


More information about the macports-dev mailing list