tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dealing with configure script that asks questions

In article <> Dieter wrote:
: hi,

: I came across a configure script that asks questions and reads answers
: from stdin.  What is the recommended way to automate this, read the
: answers from a file instead?  I'll have to do variable substition in
: this file, as one of the questions is for the value of LOCALBASE.

  To answer my own question, I've placed the ansers file in FILESDIR,
copied it to WRKSRC in post-extract, used the SUBST framework to
customize it, and added
       CONFIGURE_ARGS+= <answers-file
to have the configure script use it.


Home | Main Index | Thread Index | Old Index