summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-29 01:07:55 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-29 01:07:55 +0200
commit261f28813c8154a70349d4fdbf51645cd509906c (patch)
treeaaec903998385d932d72885b94f9b1a096d915ab /setup
parentf05d11a794291157f39778907c698c9008cd7edf (diff)
downloadsmokeping-261f28813c8154a70349d4fdbf51645cd509906c.tar.gz
smokeping-261f28813c8154a70349d4fdbf51645cd509906c.tar.xz
add note about building missing modules to configure
Diffstat (limited to 'setup')
-rw-r--r--setup/sdbs.inc4
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 ]