aboutsummaryrefslogtreecommitdiff
path: root/textproc/flex
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2020-03-22 23:12:35 +0000
committerMatthias Andree <mandree@FreeBSD.org>2020-03-22 23:12:35 +0000
commit0d383441ed15c3d574e70ca48704ee08e7a8255f (patch)
treebd0b9b7c812a56ef5df447b67963417a5edc0b18 /textproc/flex
parentb543fd1da35e73088144d1499db85a29fcb01447 (diff)
downloadports-0d383441ed15c3d574e70ca48704ee08e7a8255f.tar.gz
ports-0d383441ed15c3d574e70ca48704ee08e7a8255f.zip
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
Notes
Notes: svn path=/head/; revision=528943
Diffstat (limited to 'textproc/flex')
-rw-r--r--textproc/flex/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index d5dba7c8e019..caf95ff539a7 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -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