DJ Lucas wrote:


On 12/01/2016 01:00 PM, Bruce Dubbs wrote:


If we are looking for /pthread_stubs_possible=/  that will not match.


I guess I don't understand what you are saying, or I'm confused as to
which sed you are referring to, but if I'm reading above correctly,
/pthread_stubs_possible/ does match 'pthread_stubs_possible="yes"'.

dj [ ~/mesa-13.0.1 ]$ echo 'pthread_stubs_possible="yes"' | \
 > sed '/pthread_stubs_possible/s/\"yes/\"no/'
pthread_stubs_possible="no"

I don't understand what you are saying does not work, but what I had above
works as I had intended. If I understand the problem correctly, we don't
want configure to acknowledge that pthread_stubs is available on our
platform:

dj [ ~ ]$ rm -rf mesa-13.0.1/
dj [ ~ ]$ tar -xf /media/lfs/sources/xc/mesa-13.0.1.tar.xz
dj [ ~ ]$ cd mesa-13.0.1/
dj [ ~/mesa-13.0.1 ]$ sed '/pthread_stubs_possible/s/\"yes/\"no/'
                             /pthread_stubs_possible=/s/yes/no/'
                                                    ^  <----  !!!!

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to