Two months before she was killed, Robert Blake's wife bought sex-performance pills for the actor in a desperate bid to kick-start a limp love life, an ex-boyfriend claims. 

Bob Tellefsen told The Post that Bonny Lee Bakley, 45, visited him Feb. 19, but gave no hint of marital woes with the 67-year-old former Baretta star. 

But she did confess they were suffering from bedroom blahs. 

"I dabble in herbs and she said she wanted to buy some things that would help Robert Blake's sexual performance," said Tellefsen. He said he has known Bakley since 1980 and was once her lover. 

Tellefsen said she bought Prolong and another sexual enhancer. 

The Post also learned yesterday that Bakley may have done a nude photo spread for Hustler magazine in the early 1980s. 

A spokesman for the magazine said if her identity is confirmed, the magazine will print the photos.