pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/coccinelle Disable use of menhir (an ocaml parse...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4e5c9a83787
branches:  trunk
changeset: 352231:b4e5c9a83787
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Sep 11 05:00:33 2016 +0000

description:
Disable use of menhir (an ocaml parser generator) because (a) the
configure script is finding only half of it for some incomprehensible
autoconf reason and this doesn't work, and (b) if forced the current
version of menhir rejects the .mly file anyway. Stick to the
pregenerated version of the parser and an included copy of the support
library.

XXX: Why wasn't this buildlinking menhir? It was linking against
XXX: its library.

PKGREVISION -> 8

diffstat:

 devel/coccinelle/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 79172b6e26d0 -r b4e5c9a83787 devel/coccinelle/Makefile
--- a/devel/coccinelle/Makefile Sun Sep 11 04:35:54 2016 +0000
+++ b/devel/coccinelle/Makefile Sun Sep 11 05:00:33 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2016/05/05 11:45:37 jaapb Exp $
+# $NetBSD: Makefile,v 1.28 2016/09/11 05:00:33 dholland Exp $
 
 DISTNAME=      coccinelle-1.0.0-rc17
 PKGNAME=       ${DISTNAME:S/-rc/rc/}
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    devel
 MASTER_SITES=  http://coccinelle.lip6.fr/distrib/
 EXTRACT_SUFX=  .tgz
@@ -13,7 +13,10 @@
 LICENSE=       gnu-gpl-v2
 
 BUILD_DEPENDS+=        ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
-DEPENDS+=      menhir>=20071212:../../devel/menhir
+
+# the current version rejects this package's .mly file
+#DEPENDS+=     menhir>=20071212:../../devel/menhir
+CONFIGURE_ARGS+=       --without-menhir --disable-menhirLib
 
 MAKE_JOBS_SAFE=                no
 



Home | Main Index | Thread Index | Old Index