diff options
-rw-r--r-- | textproc/flex/Makefile | 7 |
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' \ |