Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 08:05:05 -0700 (PDT)
From:      Cy Schubert <Cy.Schubert@osg.gov.bc.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44496: Add YACC variable to bsd.port.mk
Message-ID:  <200210261505.g9QF55us075816@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help

>Number:         44496
>Category:       ports
>Synopsis:       Add YACC variable to bsd.port.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 08:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD-2.0
>Organization:
FreeBSD
>Environment:
System: FreeBSD cwsys 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Oct 10 21:40:35 PDT 2002 root@cwsys:/export/obj/opt/src/cvs-stable/src/sys/CWSYS i386


>Description:
Not all software may or should use bison, see PR/44446. Some software,
e.g. security/krb5, can be forced to used the system yacc instead of
autodetecting bison. A YACC variable in bsd.port.mk would assist
greatly in not having to hard code /usr/bin/yacc port Makefiles.
>How-To-Repeat:
PR/44446
>Fix:

Patch lines up when using :set ts=4.

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.426
diff -u -r1.426 bsd.port.mk
--- bsd.port.mk	2 Oct 2002 07:18:17 -0000	1.426
+++ bsd.port.mk	26 Oct 2002 14:55:07 -0000
@@ -587,6 +587,7 @@
 UNAME?=		/usr/bin/uname
 WHICH?=		/usr/bin/which
 XARGS?=		/usr/bin/xargs
+YACC?=		/usr/bin/yacc
 
 # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo",
 # or "true" if the make flag -s is given.  Use ECHO_CMD where you mean

>Release-Note:
>Audit-Trail:
>Unformatted:

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?200210261505.g9QF55us075816>