[csw-maintainers] mGAR cpan builds: satisfying non-installed dependencies?

Sebastian Kayser skayser at opencsw.org
Wed Apr 1 13:23:43 CEST 2009


Hi,

are there any thoughts underway to enable straight-forward builds of
CPAN packages that have not-yet-installed dependencies (which need to be
built also)?

>From looking at the category.mk for the cpan category it seems as if
this had been working with spool* directories of GAR, but as mGAR has a
separate $(DESTDIR) for each package it doesn't work with mGAR.

$ svn pg svn:externals .
gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2

$ ggrep -C1 ^PERL5LIB gar/categories/cpan/category.mk
# Enable scripts to see prereqs
PERL5LIB  = $(DESTDIR)$(libdir)/perl/csw
PERL5LIB := $(PERL5LIB):$(DESTDIR)$(datadir)/perl/csw
export PERL5LIB

I just built ack [1] which relied on File-Next (not yet in the catalog,
nor on the build farm). To satisfy this dependency I built File-Next,
manually copied it to a temporary directory, and pointed PERL5LIB to
this directory when building ack.

This worked, but maybe someone has ideas on how to tweak GAR so that
this installation and finding of dependencies becomes an automated
process :)

Sebastian

[1] http://betterthangrep.com/



More information about the maintainers mailing list