From owner-svn-ports-all@freebsd.org Thu Oct 8 19:38:58 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69F939D1DFF; Thu, 8 Oct 2015 19:38:58 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 365DCA36; Thu, 8 Oct 2015 19:38:58 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t98JcvsT079993; Thu, 8 Oct 2015 19:38:57 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t98JcvlM079992; Thu, 8 Oct 2015 19:38:57 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201510081938.t98JcvlM079992@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Thu, 8 Oct 2015 19:38:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398890 - head/cad/iverilog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 19:38:58 -0000 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 + +.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