In its opening weekend the film ranked # 2 ; and in its first week the film grossed $ 40 million , comprising 40 % of its `` $ 95 million budget '' . The film cost $ 95 million to make . In its opening weekend in North America the film ranked number two ; and in its first weekend the film grossed $ 38.8 million .