pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: math/pari vs MesaLib (2010Q3)



On Sun 31 Oct 2010 at 21:50:08 +0100, Rhialto wrote:
> Why??? does a simple math package depends on a graphics behemoth?
> And if there is a good reason for the first issue, why isn't it
> properly recorded as a dependency so that it gets installed
> automatically?

Apparently, this is under an option "x11" (in options.mk):

.if !empty(PKG_OPTIONS:Mx11)
USE_TOOLS+=             imake
CONFIGURE_ARGS+=        --graphic=X11
CONFIGURE_ARGS+=        --with-fltk=${PREFIX:Q}
CONFIGURE_ENV+=         X11BASE=${X11BASE:Q}
CONFIGURE_ENV+=         Xincroot=${X11BASE}/include
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/fltk/buildlink3.mk"
.else

Of course, apart from the ".include"s, it needs some "DEPENDS +="s too.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Home | Main Index | Thread Index | Old Index