summaryrefslogtreecommitdiff
path: root/www/apache
diff options
context:
space:
mode:
authorgrant <grant>2002-09-26 01:48:29 +0000
committergrant <grant>2002-09-26 01:48:29 +0000
commitb279c03fd48bbd7500c934dd702571c0f5bf6d5e (patch)
tree4a5b1ecb9319f2911b563aba3f1a8f6a2d68d17c /www/apache
parentdaa63d77b7f607afc940c8b44e6a417f99a67407 (diff)
downloadpkgsrc-b279c03fd48bbd7500c934dd702571c0f5bf6d5e.tar.gz
Explicitly turn on large file support, as some Apache modules have
problems when it is not enabled, notably mod_perl. Fixes pkg/18070 from myself, ok'd by wiz. Bump PKGREVISION.
Diffstat (limited to 'www/apache')
-rw-r--r--www/apache/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile
index 64c986958e0..3f4ed9de328 100644
--- a/www/apache/Makefile
+++ b/www/apache/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2002/09/20 01:53:14 jlam Exp $
+# $NetBSD: Makefile,v 1.107 2002/09/26 01:48:29 grant Exp $
#
# This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of
# code hooks that allow mod_ssl to be compiled separately later, if desired).
@@ -6,7 +6,7 @@
DISTNAME= apache_${APACHE_VERSION}
PKGNAME= apache-${APACHE_VERSION}
APACHE_VERSION= 1.3.26
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= http://httpd.apache.org/dist/httpd/ \
http://www.apache.de/dist/httpd/
@@ -102,6 +102,10 @@ APACHE_CUSTOM_CFLAGS+= -DBUFFERED_LOGS
APACHE_CUSTOM_CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
.endif
+# Explicitly turn on large file support
+APACHE_CUSTOM_CFLAGS+= -D_LARGEFILE_SOURCE
+APACHE_CUSTOM_CFLAGS+= -D_FILE_OFFSET_BITS=64
+
# On NetBSD ELF platforms, we need to link libgcc.a whole-archive so that
# certain symbols from the C++ implementation (__get_eh_context, etc.)
# referenced by DSOs written in C++ will resolve correctly.