diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-05-01 07:53:03 +0800 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-05-01 07:53:03 +0800 |
commit | 5b01cc043d521013e4afcadc39959625d069c106 (patch) | |
tree | ba2795e2df961c270ca3cd6b6821a1ffe9e66612 /math | |
parent | a6dfd1234db2e2fc96c31cffa8d5d24d6418cbfe (diff) | |
download | freebsd-ports-gnome-5b01cc043d521013e4afcadc39959625d069c106.tar.gz freebsd-ports-gnome-5b01cc043d521013e4afcadc39959625d069c106.tar.zst freebsd-ports-gnome-5b01cc043d521013e4afcadc39959625d069c106.zip |
math/hfst: unbreak build on 8.x/9.x (flex 2.5.4)
/bin/sh ../../../build-aux/ylwrap xre_lex.ll lex.yy.c xre_lex.cc -- flex --outfile=lex.yy.c
flex: unknown flag '-'. For usage, try
flex --help
*** [xre_lex.cc] Error code 1
Reported by: pkg-fallout
Approved by: portmgr blanket
MFH: 2015Q2
Diffstat (limited to 'math')
-rw-r--r-- | math/hfst/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/hfst/Makefile b/math/hfst/Makefile index f36703a019f9..6a1614e999ca 100644 --- a/math/hfst/Makefile +++ b/math/hfst/Makefile @@ -19,4 +19,12 @@ CONFIGURE_ARGS= --with-readline --with-unicode-handler=glib --enable-proc --enab SHEBANG_FILES= tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py USE_LDCONFIG= yes +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= flex>2.5.33:${PORTSDIR}/textproc/flex +CONFIGURE_ENV+= LEX="${FLEX}" +FLEX= ${LOCALBASE}/bin/flex +.endif + .include <bsd.port.mk> |