Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 09:23:21 +0200
From:      Clement Laforet <clement@FreeBSD.org>
To:        Clive Lin <clive@tongi.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: Unable to build apache2 with threads (Re: cvs commit: ports/Mk bsd.port.mk)
Message-ID:  <20041010092321.10b6395c.clement@FreeBSD.org>
In-Reply-To: <20041010023433.GA22907@CARTIER.mind.com>
References:  <200410071759.i97HxIup039053@repoman.freebsd.org> <20041010023433.GA22907@CARTIER.mind.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sun__10_Oct_2004_09_23_21_+0200_LMdWyRAzI_EKrDyP
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sun, 10 Oct 2004 10:34:33 +0800
Clive Lin <clive@tongi.org> wrote:

Hi Clive,

> http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.498&r2=1.499
> 
> this seems to stop apache2 build with threads. (WITH_MPM=worker)

I know ;-)
Actually, this change make apache2 port "violate" PTHREAD_LIBS.
I'll try to find a nice fix.
 
>     dirty hack as below, although I dont think it is a correct fix...
Thanks. The patch below minimizes impacts (if there's any), IMHO.
portmgr is Cc'd for approval.

clem

--- Makefile.orig       Sun Oct 10 09:16:35 2004
+++ Makefile    Sun Oct 10 09:16:52 2004
@@ -138,7 +138,7 @@
 PLIST_SUB+=    PORTS_APR=""
 .endif
 
-WITH_PTHREAD_LIBS?=    ${PTHREAD_LIBS:S/-l//}
+WITH_PTHREAD_LIBS?=    ${PTHREAD_LIBS:S/-l//:S/-//}
 WITH_PTHREAD_CFLAGS?=  ${PTHREAD_CFLAGS}
 
 .include "${APACHEDIR}/Makefile.doc"

--Signature=_Sun__10_Oct_2004_09_23_21_+0200_LMdWyRAzI_EKrDyP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBaONtsRhfjwcjuh0RAj0vAJ407k0vmbgh4iWhtOGNFsBzlwPKRwCgxCap
4guBXI5CSof1OtOvnIuENj8=
=IaIW
-----END PGP SIGNATURE-----

--Signature=_Sun__10_Oct_2004_09_23_21_+0200_LMdWyRAzI_EKrDyP--



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