From c15738ec00bc585036fc1f78bd29e9f015636acd Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 26 Sep 2002 01:48:29 +0000 Subject: 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. --- www/apache/Makefile | 8 ++++++-- www/apache6/Makefile | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'www') 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. 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. -- cgit v1.2.3