Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 11:58:21 -0800 (PST)
From:      Ryan Grove <ryan@wonko.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Ryan Grove <ryan@wonko.com>
Subject:   ports/60188: [maintainer update]: www/notftp support for Apache2
Message-ID:  <200312121958.hBCJwLZO017655@gimp.wonko.com>
Resent-Message-ID: <200312122000.hBCK0ZUV001111@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60188
>Category:       ports
>Synopsis:       [maintainer update]: www/notftp support for Apache2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 12 12:00:34 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Grove
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD gimp.wonko.com 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Thu Oct 24 15:23:20 PDT 
2002 ryan@gimp.wonko$


        
>Description:
	Oops. I suppose I should include a diff.

>How-To-Repeat:
	
>Fix:

	

--- notftp.diff begins here ---
diff -ruN /usr/ports/www/notftp/Makefile ./notftp/Makefile
--- /usr/ports/www/notftp/Makefile	Sun Feb 23 23:00:19 2003
+++ ./notftp/Makefile	Fri Dec 12 11:33:56 2003
@@ -13,7 +13,15 @@
 MAINTAINER=	ryan@wonko.com
 COMMENT=	An easy to use Web to FTP gateway written in PHP
 
-RUN_DEPENDS=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.if exists(${LOCALBASE}/include/apache2/os.h)
+WITH_APACHE2=	yes
+.endif
+
+.if defined(WITH_APACHE2)
+RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
+RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
 
 PREFIX=		${LOCALBASE}
 WEBOWN?=	www
--- notftp.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312121958.hBCJwLZO017655>