ports/146914: Update www/suphp to work with apache2/apr changes

Anish Mistry amistry at am-productions.biz
Mon May 24 07:50:05 UTC 2010


>Number:         146914
>Category:       ports
>Synopsis:       Update www/suphp to work with apache2/apr changes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 24 07:50:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 7.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE-p8 FreeBSD 7.1-RELEASE-p8 #1: Sun Oct 18 03:46:11 EDT 2009 amd64


	
>Description:
suphp needs to be updated to match the new apache/apr setup
>How-To-Repeat:
	
>Fix:

	

--- suphp-apr-change.diff begins here ---
--- Makefile.orig	2010-05-24 03:15:49.000000000 -0400
+++ Makefile	2010-05-24 03:16:46.000000000 -0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	suphp
 PORTVERSION=	0.7.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://www.suphp.org/download/ \
 		${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
@@ -37,14 +37,7 @@
 
 .include <bsd.port.pre.mk>
 
-# Apache 2.0 (www/apache2) has apr-config in LOCALBASE/lib/apache2, while
-# Apache 2.2 (www/apache22) has apr-1-config in LOCALBASE/bin.
-#
-.if ${APACHE_VERSION} == 20
-CONFIGURE_ARGS+=	--with-apr=${LOCALBASE}/lib/apache2
-.else
 CONFIGURE_ARGS+=	--with-apr=${LOCALBASE}
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
--- suphp-apr-change.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list