diff options
author | makc <makc@FreeBSD.org> | 2009-01-05 16:35:38 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2009-01-05 16:35:38 +0800 |
commit | 06d88bb13bbf9be272f97e2bb743e33447ffba37 (patch) | |
tree | 4726e4cebec1b265c1e3f9d1f4647b7985de813d /textproc/flex | |
parent | 25700b789ab1731b0a16890da581ec622ef27b46 (diff) | |
download | freebsd-ports-gnome-06d88bb13bbf9be272f97e2bb743e33447ffba37.tar.gz freebsd-ports-gnome-06d88bb13bbf9be272f97e2bb743e33447ffba37.tar.zst freebsd-ports-gnome-06d88bb13bbf9be272f97e2bb743e33447ffba37.zip |
install flex header to include/flex, thus resolve build problem for those, who use system flex (e.g. ports/126520)
Submitted by: Andy Fawcett via irc
Approved by: miwi (mentor)
Diffstat (limited to 'textproc/flex')
-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' \ |