Superfluous dependencies

Hans Ottevanger hans.ottevanger at gmail.com
Sun Mar 13 15:27:48 UTC 2011


On Sat, Mar 12, 2011 at 10:53 PM, Mark Linimon <linimon at lonesome.com> wrote:
> On Thu, Mar 10, 2011 at 10:28:40AM +0100, Hans Ottevanger wrote:
>> If anybody is interested I could consolidate my results and post a few patches.
>
> I would like to see them.
>
> This is the kind of really-dull-but-necessary work that we need to have
> people work on to fight the creeping dependencies :-)
>
> mcl
>

Real life intervened the last few days, so excuses for the delay.

Since the test system I used last week became a mess in the process, I
restarted the effort this morning on my 9.0-CURRENT system (amd64,
r219593). I have cvsupped the ports tree at about 10:45 UTC. Limiting
the discussion to Xorg alone for now, I made the following changes to
just three makefiles:

Index: devel/glib20/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/glib20/Makefile,v
retrieving revision 1.174
diff -r1.174 Makefile
42,43c42,43
< USE_PYTHON=   yes
< USE_PERL5=    yes
---
> USE_PYTHON_BUILD=yes
> USE_PERL5_BUILD=yes
Index: sysutils/hal/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/hal/Makefile,v
retrieving revision 1.69
diff -r1.69 Makefile
29c29
< USE_PYTHON=   yes
---
> USE_PYTHON_BUILD=yes
Index: sysutils/polkit/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/polkit/Makefile,v
retrieving revision 1.9
diff -r1.9 Makefile
20c20
< RUN_DEPENDS=
${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
---
> #RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection

The first two are quite trivial, the third could be a bit tricky, but
I cannot find (and imagine) a situation where gobject-introspection is
needed on run-time for a "normal" end-user.

After building and installing xorg-7.5.1 I can deinstall the following
packages (and probably quite a few others that are only needed at
build-time):

autoconf-2.68
automake-1.11.1
bison-2.4.3,1
gobject-introspection-0.9.12_1
help2man-1.39.2
intltool-0.41.1
m4-1.4.15,1
p5-Locale-gettext-1.05_3
p5-XML-Parser-2.40
perl-5.10.1_3
python27-2.7.1_1
xcb-proto-1.6

As far as I can see now, X functions OK, though I still have to compile KDE.


Kind regards

Hans Ottevanger


More information about the freebsd-ports mailing list