svn commit: r398890 - head/cad/iverilog
Niclas Zeising
zeising at FreeBSD.org
Thu Oct 8 19:38:58 UTC 2015
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>
More information about the svn-ports-head
mailing list