Date: Thu, 11 Apr 2002 08:43:38 +0900 (KST) From: Hye-Shik Chang <perky@fallin.lv> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36981: Fix port: www/apache2 (disable thread support by default) Message-ID: <200204102343.g3ANhcqX052430@akaraka.yonsei.ac.kr>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204102343.g3ANhcqX052430>