[Lunar-commits] <moonbase> Fixing all the is_depends misstakes I've done :)
Stefan Wold
ratler at lunar-linux.org
Mon Aug 23 17:33:40 CEST 2010
commit 99ebb655b58e60bf262e46d274f344f2e384d0e0
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Mon Aug 23 17:33:40 2010 +0200
Fixing all the is_depends misstakes I've done :)
---
audio/timidity++/BUILD | 6 +++---
chat/imspector/BUILD | 6 +++---
ftp/proftpd/BUILD | 4 ++--
games/openttd/BUILD | 4 ++--
mail/pine/BUILD | 2 +-
web/dansguardian/BUILD | 4 ++--
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/audio/timidity++/BUILD b/audio/timidity++/BUILD
index eab3e4d..dc8e90a 100644
--- a/audio/timidity++/BUILD
+++ b/audio/timidity++/BUILD
@@ -5,13 +5,13 @@
fi &&
audio="oss"
- if is_depends flac; then
+ if in_depends $MODULE flac; then
audio="${audio},flac"
fi &&
- if is_depends alsa-lib; then
+ if in_depends $MODULE alsa-lib; then
audio="${audio},alsa"
fi &&
- if is_depends libvorbis; then
+ if in_depends $MODULE libvorbis; then
audio="${audio},vorbis"
fi &&
diff --git a/chat/imspector/BUILD b/chat/imspector/BUILD
index 1afb405..7c1f3a6 100644
--- a/chat/imspector/BUILD
+++ b/chat/imspector/BUILD
@@ -9,15 +9,15 @@
sedit 's/^#user=/user=/' imspector.conf &&
sedit 's/^#group=/group=/' imspector.conf &&
- if is_depends mysql; then
+ if in_depends $MODULE mysql; then
ADD_PLUGINS+=" mysqlloggingplugin.so"
fi &&
- if is_depends sqlite; then
+ if in_depends $MODULE sqlite; then
ADD_PLUGINS+=" sqliteloggingplugin.so"
fi &&
- if is_depends postgresql; then
+ if in_depends $MODULE postgresql; then
ADD_PLUGINS+=" postgresqlloggingplugin.so"
fi &&
diff --git a/ftp/proftpd/BUILD b/ftp/proftpd/BUILD
index 4538ae6..fcad37a 100644
--- a/ftp/proftpd/BUILD
+++ b/ftp/proftpd/BUILD
@@ -11,11 +11,11 @@
# ProFTPD only support one backend at a time
# We default to MySQL if both are enabled
- if is_depends mysql ; then
+ if in_depends $MODULE mysql; then
MODS="$MODS:mod_sql:mod_sql_mysql"
OPTS="$OPTS --with-includes=/usr/include/mysql"
else
- if is_depends postgresql ; then
+ if in_depends $MODULE postgresql; then
MODS="$MODS:mod_sql:mod_sql_postgres"
OPTS="$OPTS --with-includes=/usr/include/postgresql"
fi
diff --git a/games/openttd/BUILD b/games/openttd/BUILD
index 0d258db..89adfcd 100644
--- a/games/openttd/BUILD
+++ b/games/openttd/BUILD
@@ -1,9 +1,9 @@
(
- if is_depends libpng; then
+ if in_depends $MODULE libpng; then
OPTS+=" --with-png"
fi
- if is_depends timidity++; then
+ if in_depends $MODULE timidity++; then
OPTS+=" --with-midi=/usr/bin/timidity"
fi
diff --git a/mail/pine/BUILD b/mail/pine/BUILD
index 9d1d2c6..b60b97d 100644
--- a/mail/pine/BUILD
+++ b/mail/pine/BUILD
@@ -10,7 +10,7 @@
TARGET="slx"
fi
- if is_depends openldap ; then
+ if in_depends $MODULE openldap; then
mkdir $SOURCE_DIRECTORY/ldap
ln -s /usr/lib $SOURCE_DIRECTORY/ldap/libraries
ln -s /usr/include $SOURCE_DIRECTORY/ldap/include
diff --git a/web/dansguardian/BUILD b/web/dansguardian/BUILD
index e902b79..152f570 100644
--- a/web/dansguardian/BUILD
+++ b/web/dansguardian/BUILD
@@ -10,7 +10,7 @@
--with-logdir=/var/log/dansguardian \
--with-piddir=/var/run" &&
- if is_depends clamav; then
+ if in_depends $MODULE clamav; then
DGUSER="clamav:clamav"
OPTS+=" --with-proxyuser=clamav --with-proxygroup=clamav"
else
@@ -21,7 +21,7 @@
default_build &&
# Be kind and enable clamav in config
- if is_depends clamav; then
+ if in_depends $MODULE clamav; then
sedit "/^#contentscanner.*clamdscan\.conf.*/ s;^#;;" /etc/dansguardian/dansguardian.conf &&
sedit "s;^#clamdudsfile.*;clamdudsfile = '/tmp/clamd';" /etc/dansguardian/contentscanners/clamdscan.conf
fi &&
More information about the Lunar-commits
mailing list