|
From: Björn R. <br...@us...> - 2007-07-30 13:15:47
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv26493 Modified Files: Tag: rel-1-2-patches mod_perl Log Message: setting $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.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- mod_perl 23 Feb 2007 15:23:31 -0000 1.1.2.5 +++ mod_perl 30 Jul 2007 13:15:34 -0000 1.1.2.6 @@ -22,18 +22,22 @@ 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 + if [ "$CONFIG_HTTPD" = "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 + 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 + fi fi ;; |