From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 01:31:13 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F92C37B401 for ; Tue, 5 Aug 2003 01:31:13 -0700 (PDT) Received: from genua.rfc-networks.ie (genua.rfc-networks.ie [62.77.182.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB7643FCB for ; Tue, 5 Aug 2003 01:31:12 -0700 (PDT) (envelope-from philip.reynolds@rfc-networks.ie) Received: from tear.domain (unknown [10.0.1.254]) by genua.rfc-networks.ie (Postfix) with ESMTP id 14A67548C4 for ; Tue, 5 Aug 2003 09:31:11 +0100 (IST) Received: by tear.domain (Postfix, from userid 1000) id D3DA821150; Tue, 5 Aug 2003 08:31:10 +0000 (GMT) Date: Tue, 5 Aug 2003 08:31:10 +0000 From: Philip Reynolds To: freebsd-ports@freebsd.org Message-ID: <20030805083110.GD84015@rfc-networks.ie> References: <20030804181916.GD646@galgenberg.net> <20030804183432.GB16526@toxic.magnesium.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030804183432.GB16526@toxic.magnesium.net> X-Operating-System: FreeBSD 4.7-STABLE X-URL: http://www.rfc-networks.ie Subject: Re: RFC: Ports and pthread X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: philip.reynolds@rfc-networks.ie List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 08:31:13 -0000 Adam Weinberger 30 lines of wisdom included: > >> (08.04.2003 @ 1119 PST): Ulrich Spoerlein said, in 2.1K: << > > Therefore I propose a new variable to bsd.port.mk used like this: > > USE_PTHREAD_HACK= configure > > > > Which will do the following in post-patch: > > .for file in ${USE_PTHREAD_HACK} > > ${REINPLACE_CMD} "s/-lpthread/${PTHREAD_LIBS}/g" ${WRKSRC}/$file > > .endfor > > > > And PTHREAD_LIBS either set to -pthread, -lpthread, -lthr or -lc_r. > >> end of "RFC: Ports and pthread" from Ulrich Spoerlein << > > Even if it's not a GNOME app, I just use: > USE_GNOME= gnomehack > > which accomplishes the same thing, and is already there. Maybe it would be wise to move this as a separate option and let USE_GNOME define it? I certainly had no idea that USE_GNOME did any such thing (is this documented anywhere?) -- Philip Reynolds | RFC Networks Ltd. philip.reynolds@rfc-networks.ie | +353 (0)1 8832063 http://people.rfc-networks.ie/~phil | www.rfc-networks.ie