Date: Sat, 19 Nov 2016 23:02:03 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> 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 Message-ID: <201611192302.uAJN23g3026077@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> +.include <bsd.port.pre.mk> +# Flex on FreeBSD 9 and older 10 is too old +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex +.endif + +.include <bsd.port.post.mk> 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 <bsd.port.mk> +.include <bsd.port.pre.mk> +# Flex on FreeBSD 9 and older 10 is too old +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611192302.uAJN23g3026077>