[MacPorts] #23798: pari-2.3.5 Portfile enhancement, reduced dependencies
MacPorts
noreply at macports.org
Mon Feb 22 05:23:10 PST 2010
#23798: pari-2.3.5 Portfile enhancement, reduced dependencies
-------------------------------------+--------------------------------------
Reporter: tobsimon@… | Owner: vinc17@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: haspatch | Port: pari
-------------------------------------+--------------------------------------
Comment(by vinc17@…):
Replying to [ticket:23798 tobsimon@…]:
> - deleted dependency: xorg-libX11[[BR]]
> Not needed. The pari website only lists an optional colour-capable
xterm. The OS X Terminal suffices.
Here it is needed:
{{{
$ otool -L =gp
/opt/local/bin/gp:
/opt/local/lib/libreadline.6.1.dylib (compatibility version 6.0.0,
current version 6.1.0)
/opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0,
current version 10.0.0)
/opt/local/lib/libgmp.3.dylib (compatibility version 9.0.0,
current version 9.2.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.12)
}}}
and /opt/local/lib/libX11.6.dylib is provided by xorg-libX11. AFAIK, it is
used for hi-res graphics (ploth function). From the Configure file:
{{{
if test "$optimization" != profiling; then
. ./get_X11 # X11, X11_INC, X11_LIBS
. ./get_graphic_lib # which_graphic_lib
. ./get_fltk # FLTKDIR, FLTK_LIBS
. ./get_Qt # QTDIR, QTLIB
echo "Hi-Res Graphics: $which_graphic_lib"
. ./get_readline # $_readline_list (includes 'readline')
else
which_graphic_lib=none
fi
}}}
If xorg-libX11 is really a problem, one could add a variant to disable the
above checks and force which_graphic_lib=none (but since ploth may be seen
as an important feature, I think it should be enabled by default).
Concerning the docpdf variant, the patch was incorrect: there is textual
documentation too (AUTHORS, CHANGES, COPYING), and I think that one should
disable the doc target explicitly (texlive is also used to generate the
dvi files).
--
Ticket URL: <http://trac.macports.org/ticket/23798#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list