summaryrefslogtreecommitdiff
path: root/www/apache6
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/apache6
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/apache6')
-rw-r--r--www/apache6/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/apache6/Makefile b/www/apache6/Makefile
index 210dde42760..0cca5db7635 100644
--- a/www/apache6/Makefile
+++ b/www/apache6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2002/09/19 09:04:30 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2002/09/26 01:50:23 grant Exp $
#
# This package does not compile in mod_ssl support hooks, as it conflicts
# with IPv6-enable patch.
@@ -10,7 +10,7 @@
DISTNAME= apache_${APACHE_VERSION}
PKGNAME= apache6-${APACHE_VERSION}
APACHE_VERSION= 1.3.26
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://httpd.apache.org/dist/httpd/ \
http://www.apache.de/dist/httpd/ \
@@ -99,6 +99,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.