ports/88281: mod_vhs changes break INDEX build if Apache 1.x is installed

Lowell Gilbert freebsd-bugs-local at be-well.ilk.org
Mon Oct 31 17:40:19 UTC 2005


>Number:         88281
>Category:       ports
>Synopsis:       mod_vhs changes break INDEX build if Apache 1.x is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 31 17:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lowell Gilbert
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
the Ilk
>Environment:
System: FreeBSD be-well.ilk.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat Oct 29 10:39:14 EDT 2005 root at be-well.ilk.org:/usr/src/sys/i386/compile/BE-WELLQ i386

This problem is only relevant to having Apache1 installed
www/apache is installed.

	
>Description:
	

The changes to mod_vhs now set WITH_APACHE2 unconditionally, even if
Apache 1 is already installed.

>How-To-Repeat:
	

[with Apache1 installed]

    [1089] (be-well) www> cd /usr/ports/www/mod_vhs
    [1090] (be-well) mod_vhs> make describe
    "/usr/ports/www/apache2/Makefile.modules.3rd", line 36: You have `WITH_APACHE2' variable defined either in environment or in make(1) argumentsm. but apache13 is installed Please undefine and try again.
    [1091] (be-well) mod_vhs> 

>Fix:

This works.  It isn't quite the right fix, I think, but it's at least
a hint.  I'm assuming that mod_vhs isn't *supposed* to work with
Apache 1.x, but the checkin comments make me think that is the case.

--- /usr/ports/www/mod_vhs/Makefile.ORIG        Sun Oct 30 17:27:38 2005
+++ /usr/ports/www/mod_vhs/Makefile     Mon Oct 31 12:28:55 2005
@@ -14,11 +14,15 @@
 MAINTAINER=    kiwi at oav.net
 COMMENT=       Allows mass virtual hosting using libhome system with Apache 2.0.x
 
 LIB_DEPENDS+=  home:${PORTSDIR}/misc/libhome
 
-WITH_APACHE2=  yes
+CONFLICTS=     apache-1.3*
+.if exists(${LOCALBASE}/include/apache/httpd.h)
+IGNORE=                cannot be used with Apache 1.x
+.endif
+
 USE_PHP=       yes
 USE_PHP_BUILD= yes
 WANT_PHP_MOD=  yes
 WANT_APACHE=   2
 AP_FAST_BUILD= YES
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list