Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 14:35:46 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   bison versus yacc
Message-ID:  <199905252135.OAA74293@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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?

-- 
Steve


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?199905252135.OAA74293>