svn commit: r426543 - in head/devel: kf5-kservice kf5-solid

Tobias C. Berner tcberner at FreeBSD.org
Sat Nov 19 23:02:04 UTC 2016


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>


More information about the svn-ports-all mailing list