aboutsummaryrefslogtreecommitdiff
path: root/textproc/flex
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-01-05 08:35:38 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-01-05 08:35:38 +0000
commit42dd1523eb400e62e402e331e0d8525d6a55f0df (patch)
tree3df036e44e7e85dc0ff54a879bf1e32a82362264 /textproc/flex
parent0e21c49dd3e96f5769d9a30def780eb64f56ad62 (diff)
downloadports-42dd1523eb400e62e402e331e0d8525d6a55f0df.tar.gz
ports-42dd1523eb400e62e402e331e0d8525d6a55f0df.zip
Notes
Diffstat (limited to 'textproc/flex')
-rw-r--r--textproc/flex/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index bbac6129863e..a49ee7eb1711 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flex
PORTVERSION= 2.5.35
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF
@@ -19,10 +20,12 @@ BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man \
USE_BISON= build
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-nls
+# install flex header to its own dir to avoid conflict with system flex.
+CONFIGURE_ARGS= --disable-nls --includedir=${PREFIX}/include/flex
USE_GMAKE= yes
MAN1= flex.1
-PLIST_FILES= bin/flex include/FlexLexer.h lib/libfl.a lib/libfl_pic.a
+PLIST_FILES= bin/flex include/flex/FlexLexer.h lib/libfl.a lib/libfl_pic.a
+PLIST_DIRS= include/flex
post-patch:
@${REINPLACE_CMD} -e 's/install-info-recursive//g;s/info-recursive//g' \