Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 14:53:22 -0700 (PDT)
From:      Chris Piazza <cpiazza@home.net>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   RE: bison versus yacc
Message-ID:  <XFMail.990525145322.cpiazza@home.net>
In-Reply-To: <199905252135.OAA74293@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25-May-99 Steve Kargl wrote:
> Porters,
> 
> I'm upgrading ddd from 3.1.4 to 3.1.5 and have run into a 
> small problem.  This port uses USE_CONFIGURE to configure
> ddd for building, and it finds /usr/bin/bison.   This
> chocks the make of ddd.  If I set the YACC environmental
> variable to /usr/bin/yacc, configure will not probe for
> bison.  The subsequent build with the yacc generated 
> parser works.
> 
> I've looked through ports/Mk/bsd.port.mk for a USE_YACC
> variable, but apparently one does not exists.  So, at this
> point we have 4 options: (1) upgrade src/contrib/bison
> to version 1.27 which should fix the problem; (2) add a
> USE_YACC and/or USE_BISON variable to ports/Mk/bsd.port.mk;
> (3) tell the person trying to build ddd to set a YACC
> environmental variable; or (4) add a DEPENDS=bison so
> ports/devel/bison gets install and hope that ${PREFIX}/bin
> occurs before usr/bin in PATH.
> 
> Thoughts?
> 

Um, set CONFIGURE_ENV= YACC=/usr/bin/yacc in the port Makefile? :-).

---
Chris Piazza    Abbotsford, BC, Canada
           cpiazza@home.net
finger norn@norn.ca.eu.org for PGP key



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990525145322.cpiazza>