aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-ssl
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-11-07 09:49:57 +0800
committerache <ache@FreeBSD.org>1996-11-07 09:49:57 +0800
commit7ae0406c328a5ca64474d6bf9711f1c924b97d81 (patch)
tree0ae9277f86f5149167b6a5d2aa38e23f63abb670 /www/apache13-ssl
parentb3b5ab5ac1f48813d9a63518fe8aad8cb4195ad0 (diff)
downloadfreebsd-ports-gnome-7ae0406c328a5ca64474d6bf9711f1c924b97d81.tar.gz
freebsd-ports-gnome-7ae0406c328a5ca64474d6bf9711f1c924b97d81.tar.zst
freebsd-ports-gnome-7ae0406c328a5ca64474d6bf9711f1c924b97d81.zip
Conditionalize all my patches
Diffstat (limited to 'www/apache13-ssl')
-rw-r--r--www/apache13-ssl/Makefile35
1 files changed, 34 insertions, 1 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile
index a92c153898a7..6b911bf6d6c1 100644
--- a/www/apache13-ssl/Makefile
+++ b/www/apache13-ssl/Makefile
@@ -3,7 +3,7 @@
# Date created: Fri Aug 25 16:42:36 CDT 1995
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.18 1996/10/26 18:49:52 markm Exp $
+# $Id: Makefile,v 1.19 1996/10/31 17:42:13 markm Exp $
#
DISTNAME= apache_1.1.1
@@ -13,6 +13,39 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/
MAINTAINER= ache@freebsd.org
+# User-controlled variables list
+# CHARSET_ACHE - add charset negotiation to .var files and charset guessing
+# DIR_ACHE - add SuppressHTMLPreamble option to directory index
+# ALL_ACHE - both patches from above
+# SECURE_SERVER - build Apache with SSL
+
+.if defined(ALL_ACHE)
+CHARSET_ACHE=YES
+DIR_ACHE=YES
+.endif
+.if defined(CHARSET_ACHE) || defined(DIR_ACHE)
+PATCH_SITES+= http://www.nagual.ru/~ache/
+.endif
+.if defined(CHARSET_ACHE)
+PATCHFILES+= mod.patch
+VERS_ID1= charset/
+.endif
+.if defined(DIR_ACHE)
+PATCHFILES+= dir.patch
+VERS_ID2= dir/
+.endif
+.if defined(VERS_ID1) || defined(VERS_ID2)
+VERS_ID= ${VERS_ID1}${VERS_ID2}ache
+.endif
+
+.if defined(VERS_ID)
+post-patch:
+ @cd ${WRKSRC}/src; \
+ mv httpd.h httpd.h.old; \
+ sed 's=SERVER_VERSION *"\(.*\)"=SERVER_VERSION "\1 '"${VERS_ID}"'"=' \
+ < httpd.h.old > httpd.h
+.endif
+
.if defined(SECURE_SERVER)
PKGNAME= apache_SSL-1.1.1