Date: Tue, 19 Nov 2002 09:27:55 -0800 (PST) From: Doug Barton <DougB@FreeBSD.org> To: Will Andrews <will@csociety.org> Cc: Edwin Groothuis <edwin@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: ports/net/firedns/files patch-firemake.libs Message-ID: <20021119092618.E7722-100000@master.gorean.org> In-Reply-To: <20021119130550.GK79926@procyon.firepipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Nov 2002, Will Andrews wrote:
> 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.
Nope. I copied it straight from a Makefile that I know works.
> 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).
True, but leaving one more extra file in WRKDIR is not a problem for me,
and as you well know I think REINPLACE_CMD is an abomination.
--
"We have known freedom's price. We have shown freedom's power.
And in this great conflict, ... we will see freedom's victory."
- George W. Bush, President of the United States
State of the Union, January 28, 2002
Do YOU Yahoo!?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119092618.E7722-100000>
