Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 23:42:15 -0800
From:      Doug Barton <DougB@FreeBSD.org>
To:        Edwin Groothuis <edwin@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/net/firedns/files patch-firemake.libs
Message-ID:  <3DD9EB57.33F38CDE@FreeBSD.org>
References:  <200211152259.gAFMxJwv052222@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Just a thought,

Doug


Edwin Groothuis wrote:
> 
> edwin       2002/11/15 14:59:19 PST
> 
>   Added files:
>     net/firedns/files    patch-firemake.libs
>   Log:
>   Added patchfile to properly handle the -lpthread -pthread differences
>   for FreeBSD.
>   Noticed on: bento
> 
>   Revision  Changes    Path
>   1.1       +5 -0      ports/net/firedns/files/patch-firemake.libs (new)
> 
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net/firedns/files/patch-firemake.libs (new).diff?&r1=1.0&r2=1.1&f=h

-- 
   "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?3DD9EB57.33F38CDE>