From 261f28813c8154a70349d4fdbf51645cd509906c Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 28 Sep 2011 23:07:55 +0000 Subject: add note about building missing modules to configure --- setup/sdbs.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup') diff --git a/setup/sdbs.inc b/setup/sdbs.inc index aa3c419..041f384 100644 --- a/setup/sdbs.inc +++ b/setup/sdbs.inc @@ -31,11 +31,15 @@ export PKG_CONFIG_PATH=$EPREFIX/lib/pkgconfig export LD_LIBRARY_PATH=$EPREFIX/lib # find our own perl modules export PERL5LIB=$EPREFIX/lib/perl5 +if [ x$PERL != x ]; then + PATH=`dirname $PERL`:$PATH +fi export PERL=perl export PERL_CPANM_HOME="$PREFIX" export PERL_CPANM_OPT="--notest --local-lib $PREFIX" + function prepare () { cd $WORKDIR if [ ! -f $2.ok ] -- cgit v1.2.3-24-g4f1b