diff options
author | grant <grant@pkgsrc.org> | 2002-09-26 01:48:29 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-09-26 01:48:29 +0000 |
commit | c15738ec00bc585036fc1f78bd29e9f015636acd (patch) | |
tree | 4a5b1ecb9319f2911b563aba3f1a8f6a2d68d17c /www/apache | |
parent | 7e700e59411c6f4daf317abaaa5d28d8e4c61e84 (diff) | |
download | pkgsrc-c15738ec00bc585036fc1f78bd29e9f015636acd.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/Makefile | 8 |
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. |