summaryrefslogtreecommitdiff
path: root/www/apache13
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-02-16 05:58:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-02-16 05:58:22 +0000
commitcbdec974200a728ba7c07513a69860594a67b1d8 (patch)
treea600f783819e4e910932c661fae803375836a4e9 /www/apache13
parento Add "RESTRICTED" tag since db41 contains strong cryptography (Rijndael), (diff)
Stop abusing OPTIM for anything, use CFLAGS instead, as recommended by
Apache configure. Build with full expat, some modules require it. PR: 46786
Notes
Notes: svn path=/head/; revision=75637
Diffstat (limited to 'www/apache13')
-rw-r--r--www/apache13/Makefile20
-rw-r--r--www/apache13/pkg-descr2
2 files changed, 13 insertions, 9 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index fedca1af264d..80cbb51eb97b 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.27
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.apache.org/dist/httpd/ \
ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/httpd/ \
@@ -33,6 +33,7 @@ DISTNAME= apache_${PORTVERSION}
MAINTAINER= ache@freebsd.org
+LIB_DEPENDS+= expat.4:${PORTSDIR}/textproc/expat2
USE_PERL5= yes
DATADIR=${PREFIX}/www
@@ -81,33 +82,36 @@ CONFIGURE_ARGS+= \
--with-layout=FreeBSD \
--without-confadjust \
--enable-module=most \
+ --enable-rule=EXPAT \
--enable-module=auth_db \
--enable-module=mmap_static \
--disable-module=auth_dbm \
--enable-shared=max \
${SUEXEC_CONF}
-OPTIM= -DDOCUMENT_LOCATION=\\"${DOCUMENT_ROOT}\\" \
- -DDEFAULT_PATH=\\"${DEFAULT_PATH}\\"
+CFLAGS+=-DDOCUMENT_LOCATION='\"${DOCUMENT_ROOT}\"' \
+ -DDEFAULT_PATH='\"${DEFAULT_PATH}\"'
#
# Set APACHE_HARD_SERVER_LIMIT env. variable to desired value
#
.if defined(APACHE_HARD_SERVER_LIMIT)
-OPTIM+= -DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT}
+CFLAGS+=-DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT}
.else
-OPTIM+= -DHARD_SERVER_LIMIT=512
+CFLAGS+=-DHARD_SERVER_LIMIT=512
.endif
#
# Set WITH_APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
.if defined(WITH_APACHE_PERF_TUNING) && ${WITH_APACHE_PERF_TUNING} == YES
-OPTIM+= -DBUFFERED_LOGS
-CFLAGS+= -O6 -fomit-frame-pointer
+CFLAGS+=-DBUFFERED_LOGS
+CFLAGS+=-O6 -fomit-frame-pointer
.endif
-CONFIGURE_ENV= OPTIM='${OPTIM}' LD_SHLIB='${CC}'
+CONFIGURE_ENV= OPTIM='${OPTIM}' LD_SHLIB='${CC}' LIBS='${LIBS}' \
+ INCLUDES=-I${LOCALBASE}/include \
+ LDFLAGS=-L${LOCALBASE}/lib
MAN1= dbmmanage.1 htdigest.1 htpasswd.1
MAN8= ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8 \
diff --git a/www/apache13/pkg-descr b/www/apache13/pkg-descr
index edb36c918c7c..8803492624a1 100644
--- a/www/apache13/pkg-descr
+++ b/www/apache13/pkg-descr
@@ -3,4 +3,4 @@ server version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and
includes many frequently requested new features, and has an API which
allows it to be extended to meet users' needs more easily.
-WWW: http://www.apache.org/
+WWW: http://httpd.apache.org/