From owner-svn-ports-head@freebsd.org Sat Nov 19 23:02:04 2016 Return-Path: Delivered-To: svn-ports-head@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 96701C4B36C; Sat, 19 Nov 2016 23:02:04 +0000 (UTC) (envelope-from tcberner@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 64BD11AA4; Sat, 19 Nov 2016 23:02:04 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJN23U1026079; Sat, 19 Nov 2016 23:02:03 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAJN23g3026077; Sat, 19 Nov 2016 23:02:03 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201611192302.uAJN23g3026077@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 19 Nov 2016 23:02:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426543 - in head/devel: kf5-kservice kf5-solid 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.23 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: Sat, 19 Nov 2016 23:02:04 -0000 Author: tcberner Date: Sat Nov 19 23:02:03 2016 New Revision: 426543 URL: https://svnweb.freebsd.org/changeset/ports/426543 Log: Fix build on FreeBSD versions with old flex. Approved by: rakuco (mentor) Modified: head/devel/kf5-kservice/Makefile head/devel/kf5-solid/Makefile Modified: head/devel/kf5-kservice/Makefile ============================================================================== --- head/devel/kf5-kservice/Makefile Sat Nov 19 22:26:49 2016 (r426542) +++ head/devel/kf5-kservice/Makefile Sat Nov 19 23:02:03 2016 (r426543) @@ -13,4 +13,10 @@ USE_KDE= archive config coreaddons crash doctools ecm i18n USE_QT5= buildtools_build core dbus gui qmake_build xml -.include +.include +# Flex on FreeBSD 9 and older 10 is too old +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex +.endif + +.include Modified: head/devel/kf5-solid/Makefile ============================================================================== --- head/devel/kf5-solid/Makefile Sat Nov 19 22:26:49 2016 (r426542) +++ head/devel/kf5-solid/Makefile Sat Nov 19 23:02:03 2016 (r426543) @@ -13,4 +13,10 @@ USE_KDE= ecm USE_QT5= buildtools_build concurrent core dbus gui linguisttools \ network qmake_build qml testlib widgets xml -.include +.include +# Flex on FreeBSD 9 and older 10 is too old +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex +.endif + +.include