Date: Tue, 19 Nov 2002 05:05:50 -0800 From: Will Andrews <will@csociety.org> To: Doug Barton <DougB@FreeBSD.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: <20021119130550.GK79926@procyon.firepipe.net> In-Reply-To: <3DD9EB57.33F38CDE@FreeBSD.org> References: <200211152259.gAFMxJwv052222@repoman.freebsd.org> <3DD9EB57.33F38CDE@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119130550.GK79926>
