network/mod_perl: Install config file in /etc/httpd/extra/

(instead of toplevel /etc/httpd/ directory)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-02-13 17:32:29 -06:00
parent d85aa95e6a
commit 49795dbaac
2 changed files with 4 additions and 4 deletions

View File

@ -7,4 +7,4 @@ no external Perl interpreter has to be started.
To tell Apache to load it, you'll have to put the following line
somewhere into /etc/httpd/httpd.conf:
Include /etc/httpd/mod_perl.conf
Include /etc/httpd/extra/mod_perl.conf

View File

@ -24,7 +24,7 @@
PRGNAM=mod_perl
VERSION=2.0.4
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -68,9 +68,9 @@ perl Makefile.PL MP_APXS=/usr/sbin/apxs INSTALLDIRS=vendor
make
make install DESTDIR=$PKG
mkdir -p $PKG/etc/httpd
mkdir -p $PKG/etc/httpd/extra
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%g" $CWD/mod_perl.conf > \
$PKG/etc/httpd/mod_perl.conf.example
$PKG/etc/httpd/extra/mod_perl.conf.example
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changes INSTALL LICENSE README* RELEASE STATUS \