pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/emech Provide the configure script with an empty ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8045f63bd674
branches:  trunk
changeset: 505790:8045f63bd674
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 07 21:39:49 2006 +0000

description:
Provide the configure script with an empty input file instead of feeding
a line of "\\n" to it.

diffstat:

 chat/emech/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 277a4f2af838 -r 8045f63bd674 chat/emech/Makefile
--- a/chat/emech/Makefile       Sat Jan 07 21:08:36 2006 +0000
+++ b/chat/emech/Makefile       Sat Jan 07 21:39:49 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/12/30 17:21:55 cjep Exp $
+# $NetBSD: Makefile,v 1.4 2006/01/07 21:39:49 rillig Exp $
 #
 
 DISTNAME=      emech-2.8.4
@@ -11,8 +11,10 @@
 
 HAS_CONFIGURE= YES
 
+# The ./configure script is interactive, but selects the default values
+# when given no input.
 do-configure:
-       cd ${WRKSRC} && ${ECHO} "\n\n\n\n\n\n\n\n\n\n"|./configure
+       cd ${WRKSRC} && ./configure </dev/null
 
 post-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/mech ${PREFIX}/bin



Home | Main Index | Thread Index | Old Index