diff options
Diffstat (limited to 'setup')
-rw-r--r-- | setup/sdbs.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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 ] |