From owner-freebsd-ports@FreeBSD.ORG Mon Aug 4 11:34:33 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 87EC537B401 for ; Mon, 4 Aug 2003 11:34:33 -0700 (PDT) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id EEB3543FAF for ; Mon, 4 Aug 2003 11:34:32 -0700 (PDT) (envelope-from adamw@magnesium.net) Received: (qmail 12372 invoked by uid 1252); 4 Aug 2003 18:34:32 -0000 Date: 4 Aug 2003 11:34:32 -0700 Date: Mon, 4 Aug 2003 11:34:32 -0700 From: Adam Weinberger To: ports@FreeBSD.org Message-ID: <20030804183432.GB16526@toxic.magnesium.net> Mail-Followup-To: Adam Weinberger , ports@FreeBSD.org References: <20030804181916.GD646@galgenberg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030804181916.GD646@galgenberg.net> X-Editor: Vim 6.2 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx X-ASL: 6/m/behind you User-Agent: Mutt/1.5.4i Subject: Re: RFC: Ports and pthread X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 18:34:33 -0000 >> (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. # Adam -- Adam Weinberger vectors.cx >> adam@vectors.cx >> http://www.vectors.cx magnesium.net << adamw@magnesium.net << http://www.magnesium.net/~adamw FreeBSD >> adamw@FreeBSD.org >> http://people.freebsd.org/~adamw #vim:set ts=8: 8-char tabs prevent tooth decay.