From owner-freebsd-ports Wed Apr 10 16:50:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E6DAB37B405 for ; Wed, 10 Apr 2002 16:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3ANo1f35542; Wed, 10 Apr 2002 16:50:01 -0700 (PDT) (envelope-from gnats) Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53]) by hub.freebsd.org (Postfix) with ESMTP id AB17C37B404 for ; Wed, 10 Apr 2002 16:43:50 -0700 (PDT) Received: from akaraka.yonsei.ac.kr (localhost.yonsei.ac.kr [127.0.0.1]) by akaraka.yonsei.ac.kr (8.12.2/8.12.2) with ESMTP id g3ANhh6o052562 for ; Thu, 11 Apr 2002 08:43:44 +0900 (KST) (envelope-from perky@akaraka.yonsei.ac.kr) Received: (from perky@localhost) by akaraka.yonsei.ac.kr (8.12.2/8.12.2/Submit) id g3ANhcqX052430; Thu, 11 Apr 2002 08:43:38 +0900 (KST) Message-Id: <200204102343.g3ANhcqX052430@akaraka.yonsei.ac.kr> Date: Thu, 11 Apr 2002 08:43:38 +0900 (KST) From: Hye-Shik Chang Reply-To: Hye-Shik Chang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36981: Fix port: www/apache2 (disable thread support by default) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36981 >Category: ports >Synopsis: Fix port: www/apache2 (disable thread support by default) >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 10 16:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 5.0-CURRENT i386 >Organization: Yonsei University >Environment: System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Apr 10 04:16:59 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386 >Description: - Disable THREADS by default (many ports people reported problems around threads) - Bump port revision - Added two more "POSIX expr" patch target for 5-CURRENT >How-To-Repeat: >Fix: diff -ruN apache2.orig/Makefile apache2/Makefile --- apache2.orig/Makefile Mon Apr 8 22:30:01 2002 +++ apache2/Makefile Thu Apr 11 08:20:05 2002 @@ -7,6 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.35 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ @@ -46,7 +47,7 @@ MAKE_ENV+= NOPORTDOCS=YES .endif -.if !defined(WITHOUT_THREADS) +.if defined(WITH_THREADS) CONFIGURE_ARGS+= --enable-threads .endif @@ -73,7 +74,7 @@ PLIST_SUB+= SUEXEC="@comment " .endif -.if !defined(WITHOUT_CACHE) && !defined(WITHOUT_THREADS) +.if !defined(WITHOUT_CACHE) && defined(WITH_THREADS) SHARED_MODULES+= cache file-cache disk-cache mem_cache PLIST_SUB+= MODCACHE="" .else @@ -89,7 +90,7 @@ .if ${WITH_MPM} != "prefork" PKGNAMESUFFIX= -${WITH_MPM} -.if defined(WITHOUT_THREADS) +.if !defined(WITH_THREADS) IGNORE= "requires threads for ${WITH_MPM} mpm" .endif .endif @@ -112,8 +113,11 @@ @${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \; @${SED} ${RC_SUB} ${FILESDIR}/apache.sh >${WRKDIR}/apache2.sh .if ${OSVERSION} >= 500032 +.for ltfile in srclib/pcre/ltmain.sh srclib/apr/build/ltmain.sh \ + srclib/apr-util/xml/expat/conftools/ltmain.sh @${PERL} -pi.orig -e 's|expr|expr --|' \ - ${WRKSRC}/srclib/apr/build/ltmain.sh + ${WRKSRC}/${ltfile} +.endfor .endif pre-install: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message