Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 07:27:27 GMT
From:      Alex Deiter <alex.deiter@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143005: [PATCH] www/mod_perl2: USE_APACHE?=2.0+
Message-ID:  <201001200727.o0K7RRS5054006@www.freebsd.org>
Resent-Message-ID: <201001200730.o0K7U7pc008707@freefall.freebsd.org>

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

>Number:         143005
>Category:       ports
>Synopsis:       [PATCH] www/mod_perl2: USE_APACHE?=2.0+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 20 07:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD blackbox.deiter.net.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Jan 19 19:14:46 MSK 2010     root@blackbox.deiter.net.ru:/usr/obj/usr/src/sys/BLACKBOX  i386

>Description:
I set USE_APACHE=22, but www/mod_perl2 build with www/apache20:

# cat /etc/make.conf

.if ${.CURDIR} == ${PORTSDIR}/www/mod_perl2
USE_APACHE=22
.endif

# cd /usr/ports/www/mod_perl2
# make  build-depends-list | grep apache
/usr/ports/www/apache20

>How-To-Repeat:
# cd /usr/ports/www/mod_perl2 && make USE_APACHE=22
>Fix:
--- www/mod_perl2/Makefile.orig 2010-01-20 10:16:45.861396150 +0300
+++ www/mod_perl2/Makefile      2010-01-20 10:16:56.769508454 +0300
@@ -24,7 +24,7 @@
 
 SUB_FILES=     pkg-message
 SUB_LIST=      APACHEMODDIR=${APACHEMODDIR}
-USE_APACHE=    2.0+
+USE_APACHE?=   2.0+
 PERL_CONFIGURE=        5.8.0+
 GMAKE=         yes


Patch attached with submission follows:

--- www/mod_perl2/Makefile.orig	2010-01-20 10:16:45.861396150 +0300
+++ www/mod_perl2/Makefile	2010-01-20 10:16:56.769508454 +0300
@@ -24,7 +24,7 @@
 
 SUB_FILES=	pkg-message
 SUB_LIST=	APACHEMODDIR=${APACHEMODDIR}
-USE_APACHE=	2.0+
+USE_APACHE?=	2.0+
 PERL_CONFIGURE=	5.8.0+
 GMAKE=		yes
 


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



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