From owner-cvs-all Tue Nov 19 5: 8:35 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6E737B401; Tue, 19 Nov 2002 05:08:34 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9437443E91; Tue, 19 Nov 2002 05:08:29 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id A651B24F09; Tue, 19 Nov 2002 05:05:50 -0800 (PST) Date: Tue, 19 Nov 2002 05:05:50 -0800 From: Will Andrews To: Doug Barton Cc: Edwin Groothuis , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/net/firedns/files patch-firemake.libs Message-ID: <20021119130550.GK79926@procyon.firepipe.net> Mail-Followup-To: Doug Barton , Edwin Groothuis , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200211152259.gAFMxJwv052222@repoman.freebsd.org> <3DD9EB57.33F38CDE@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DD9EB57.33F38CDE@FreeBSD.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 18, 2002 at 11:42:15PM -0800, Doug Barton wrote: > Since pthread has different values on different platforms, I use > something like this in the Makefile: > > post-patch: > @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched > @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \ > ${WRKSRC}/configure.Patched > ${WRKSRC}/configure You probably mean double quotes on that sed. Also, REINPLACE_CMD does the same thing with 1 command and doesn't leave a temp file (well, you wouldn't if you used mv(1) and reversed the order). Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message