Date: Thu, 8 Oct 2015 19:38:57 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398890 - head/cad/iverilog Message-ID: <201510081938.t98JcvlM079992@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Thu Oct 8 19:38:57 2015 New Revision: 398890 URL: https://svnweb.freebsd.org/changeset/ports/398890 Log: Fix build on FreeBSD 9.* FreeBSD 9.* has an older, noncompatible version of flex. Fix this by using flex from ports instead. Submitted by: kwm Modified: head/cad/iverilog/Makefile Modified: head/cad/iverilog/Makefile ============================================================================== --- head/cad/iverilog/Makefile Thu Oct 8 19:38:53 2015 (r398889) +++ head/cad/iverilog/Makefile Thu Oct 8 19:38:57 2015 (r398890) @@ -15,6 +15,13 @@ LICENSE= GPLv2 GNU_CONFIGURE= yes USES= bison gmake +.include <bsd.port.options.mk> + +.if ${OSVERSION} < 1000033 +BUILD_DEPENDS+= flex>=0:${PORTSDIR}/textproc/flex +CONFIGURE_ENV+= ac_cv_prog_LEX="${LOCALBASE}/bin/flex" +.endif + CONFIGURE_ARGS= --disable-suffix .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510081938.t98JcvlM079992>