From owner-svn-ports-head@FreeBSD.ORG Sun May 18 12:59:37 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E09980B; Sun, 18 May 2014 12:59:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 7B6F227FF; Sun, 18 May 2014 12:59:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4ICxb6h079676; Sun, 18 May 2014 12:59:37 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4ICxbM8079675; Sun, 18 May 2014 12:59:37 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201405181259.s4ICxbM8079675@svn.freebsd.org> From: Tijl Coosemans Date: Sun, 18 May 2014 12:59:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354415 - head/devel/gputils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 12:59:37 -0000 Author: tijl Date: Sun May 18 12:59:36 2014 New Revision: 354415 URL: http://svnweb.freebsd.org/changeset/ports/354415 QAT: https://qat.redports.org/buildarchive/r354415/ Log: Depend on newer flex on FreeBSD 8 and 9. Reported by: antoine Modified: head/devel/gputils/Makefile Modified: head/devel/gputils/Makefile ============================================================================== --- head/devel/gputils/Makefile Sun May 18 12:28:39 2014 (r354414) +++ head/devel/gputils/Makefile Sun May 18 12:59:36 2014 (r354415) @@ -17,4 +17,15 @@ GNU_CONFIGURE= yes USES= gmake CONFIGURE_ARGS= --disable-dependency-tracking --disable-html-doc +.include + +.if ${OSVERSION} < 1000033 +BUILD_DEPENDS+= flex>=2.5.35:${PORTSDIR}/textproc/flex +CONFIGURE_ARGS+=LEX=${LOCALBASE}/bin/flex +.endif + +post-patch: + @${REINPLACE_CMD} 's/flex $$(AM_LFLAGS)/$$(LEXCOMPILE)/' \ + ${WRKSRC}/gpasm/Makefile.in + .include