Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 21:30:07 -0800
From:      Mike Erickson <mee@quidquam.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Apache Port Customization
Message-ID:  <20020324053007.GP38571@quidquam.com>
In-Reply-To: <200203240343.g2O3hOQ91501@mts-138.wallnet.com>
References:  <OE39TJDVTCBavIre0FO0000d3cd@hotmail.com> <200203240343.g2O3hOQ91501@mts-138.wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I would like to start using ports to further automate server setup by
using the apache13 port rather than installing from source. However, I
need to retain the default apache src layout. I've tried a few things
along the lines of what's below but with no luck. Can anyone see what
I'm doing wrong?

# cd /usr/ports/www/apache13
# make \
CONFIGURE_ARGS+="--with-layout=Apache --prefix=/usr/local/apache" \
CFLAGS="-DHARD_SERVER_LIMIT=4000" \
build

The Makefile contains:

CONFIGURE_ARGS+=        \
                --prefix=${PREFIX} \
                --server-uid=www \
                --server-gid=www \
                --with-perl=${PERL} \
                --with-layout=FreeBSD \
                --suexec-docroot=${PREFIX}/www/data \
                --without-confadjust \
                --enable-module=most \
                --enable-module=auth_db \
                --enable-module=mmap_static \
                --disable-module=auth_dbm \
                --enable-shared=max

OPTIM=          -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
                -DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"

I thought that should override the layout and prefix configure args OK,
but I get this:

Configuring for Apache, Version 1.3.24
 + using installation path layout: Apache (config.layout)
 + using installation path layout: FreeBSD (config.layout)

I also don't know how to safely effect the settings in OPTIM. Oh, and
I'd like to stay away from any solution that requires editing the
Makefiles (which I'm beginning to suspect may not be possible).

grasping,

mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324053007.GP38571>