textproc/flex: Remove GNU m4 and GNU bison requisites

...bapt@ reports this port works perfectly with base yacc and m4.

Submitted by:	bapt@ (Baptiste Daroussin)
Differential Revision:	https://reviews.freebsd.org/D24016
This commit is contained in:
Matthias Andree 2020-03-22 23:12:35 +00:00
parent b543fd1da3
commit 0d383441ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528943

View file

@ -2,8 +2,8 @@
PORTNAME= flex
PORTVERSION= 2.6.4
PORTREVISION= 1
CATEGORIES= textproc
PORTREVISION= 2
CATEGORIES= textproc devel
MASTER_SITES= https://github.com/westes/flex/releases/download/v${PORTVERSION}/
MAINTAINER= mandree@FreeBSD.org
@ -12,15 +12,13 @@ COMMENT= Fast lexical analyzer generator
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= help2man:misc/help2man \
gm4:devel/m4
RUN_DEPENDS= gm4:devel/m4
BUILD_DEPENDS= help2man:misc/help2man
USES= bison gmake libtool makeinfo
USES= bison:alias gmake libtool makeinfo
GNU_CONFIGURE= yes
# install flex header to its own dir to avoid conflict with system flex.
CONFIGURE_ARGS= --includedir=${PREFIX}/include/flex --disable-shared
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"
INSTALL_TARGET= install-strip
INFO= flex