From 819362ebdf0d5314d97d368483335817c0b81227 Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 19 Dec 2001 21:52:49 +0000 Subject: The configuration script for this package is interactive, so provide the correct canned answers on its stdin. Fixes a problem highlighted in the bulk build results. --- lang/camlp4/Makefile | 6 ++++-- lang/camlp4/files/config-answers | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 lang/camlp4/files/config-answers (limited to 'lang/camlp4') diff --git a/lang/camlp4/Makefile b/lang/camlp4/Makefile index 35d39ec8d77..f2bcf59a6b8 100644 --- a/lang/camlp4/Makefile +++ b/lang/camlp4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/07/13 16:21:41 wulf Exp $ +# $NetBSD: Makefile,v 1.5 2001/12/19 21:52:49 agc Exp $ # DISTNAME= camlp4-3.01.6 @@ -12,11 +12,13 @@ COMMENT= Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml DEPENDS+= ocaml-3.01:../ocaml USE_GMAKE= yes -HAS_CONFIGURE= yes ALL_TARGET= world PLIST_SRC= ${WRKDIR}/PLIST +do-configure: + ${SED} -e 's|\$${PREFIX}|${PREFIX}|g' < ${FILESDIR}/config-answers | (cd ${WRKSRC} && ./configure) + pre-build: if ! ${TEST} -x ${LOCALBASE}/bin/ocamlc.opt; then \ ${ECHO} "No optimized ocaml binaries found"; \ diff --git a/lang/camlp4/files/config-answers b/lang/camlp4/files/config-answers new file mode 100644 index 00000000000..12614b255ad --- /dev/null +++ b/lang/camlp4/files/config-answers @@ -0,0 +1,3 @@ +${PREFIX}/bin +${PREFIX}/lib/camlp4 +${PREFIX}/man/man1 -- cgit v1.2.3