Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Sep 2003 23:48:17 +0200
From:      Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        Harald Schmalzbauer <h@schmalzbauer.de>
Subject:   Re: -pthread deprecated, but when?
Message-ID:  <m3vfs1ab1a.fsf@merlin.emma.line.org>
In-Reply-To: <20030909010434.H26496@znfgre.qbhto.arg> (Doug Barton's message of "Tue, 9 Sep 2003 01:07:46 -0700 (PDT)")
References:  <20030909042349.GA686@chihiro.leafy.idv.tw> <200309090942.17317@harrymail> <20030909010434.H26496@znfgre.qbhto.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <DougB@FreeBSD.org> writes:

>         @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
>         @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \

How about: ${SED} -Ee 's#-l?pthread#${PTHREAD_LIBS}#g' \

That's the one necessary to catch -pthread (such as BerkeleyDB) in
addition to -lpthread.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3vfs1ab1a.fsf>