aboutsummaryrefslogtreecommitdiff
path: root/textproc/flex
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-07-11 04:54:06 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-07-11 04:54:06 +0000
commitff0c6848e64fe580b35cf53c66aca0722b2373d5 (patch)
treed518cc8f3ada540ec0895fea0b2c1f99b67ea482 /textproc/flex
parent16d87e93883cca22fcf2141098d7dbf50c72eed2 (diff)
downloadports-ff0c6848e64fe580b35cf53c66aca0722b2373d5.tar.gz
ports-ff0c6848e64fe580b35cf53c66aca0722b2373d5.zip
Add GNU m4 as run dependency of flex
Submitted by: antoine
Notes
Notes: svn path=/head/; revision=322739
Diffstat (limited to 'textproc/flex')
-rw-r--r--textproc/flex/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index 9f32ae5f8553..6911246b0b5d 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -2,6 +2,7 @@
PORTNAME= flex
PORTVERSION= 2.5.37
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}
@@ -10,12 +11,14 @@ COMMENT= Fast lexical analyzer generator
BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man \
gm4:${PORTSDIR}/devel/m4
+RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USES= bison
USE_BZIP2= yes
GNU_CONFIGURE= yes
# install flex header to its own dir to avoid conflict with system flex.
CONFIGURE_ARGS= --includedir=${PREFIX}/include/flex
+CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
USE_GMAKE= yes
MAN1= flex.1
INFO= flex