Use Bison in the build instead of byacc.

This fixes the issue of '$()' (for ``) not being parsed correctly.

PR:		101230
Submitted by:	bf2006a@yahoo.com
This commit is contained in:
David E. O'Brien 2009-03-13 15:54:23 +00:00
parent 403f254ba8
commit 80321f0d0e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229998

View file

@ -9,7 +9,7 @@
PORTNAME= bash
PATCHLEVEL= 10
PORTVERSION= 4.0.${PATCHLEVEL:S/^0//g}
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:S/$/:bash/} \
ftp://ftp.cwru.edu/pub/%SUBDIR%/:faq
@ -44,6 +44,7 @@ MAN1= bash.1 bashbug.1
INFO= bash
GNU_CONFIGURE= yes
USE_BISON= build
.if !defined(NOPORTDOCS)
.if !defined(WITH_INCLUDED_FAQ)
@ -92,7 +93,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
YACC="${YACC}"
YACC="bison"
.include <bsd.port.pre.mk>
@ -128,6 +129,9 @@ post-install:
@${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
regress: build
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test
cklatest:
-ncftpls \
ftp://ftp.cwru.edu/pub/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.[0-9a-z]*$//}-patches/ \