Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv24345
Modified Files:
mod_perl
Log Message:
CONFIG_MOD_PERL was not honored by the script..
Index: mod_perl
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/mod_perl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mod_perl 23 Feb 2007 15:25:38 -0000 1.3
+++ mod_perl 25 Jul 2007 12:21:43 -0000 1.4
@@ -23,17 +23,21 @@
case $1 in
build )
if [ "$CONFIG_HTTPD" = "y" ]; then
- perl Makefile.PL MP_APXS=/usr/sbin/apxs || exit 1
- make || exit 1
- strip_debug
+ if [ "$CONFIG_MOD_PERL" = "y" ]; then
+ perl Makefile.PL MP_APXS=/usr/sbin/apxs || exit 1
+ make || exit 1
+ strip_debug
+ fi
fi
;;
install )
if [ "$CONFIG_HTTPD" = "y" ]; then
- make install DESTDIR=$TMPDIR || exit 1
- cp src/modules/perl/mod_perl.so $CDDIR/usr/lib/apache2/modules/ || exit 1
- rm -rf $TMPDIR || exit 1
+ if [ "$CONFIG_MOD_PERL" = "y" ]; then
+ make install DESTDIR=$TMPDIR || exit 1
+ cp src/modules/perl/mod_perl.so $CDDIR/usr/lib/apache2/modules/ || exit 1
+ rm -rf $TMPDIR || exit 1
+ fi
fi
;;
|