New port assistance for mlr
Kurt Jaeger
lists at opsec.eu
Sun Jan 31 20:26:46 UTC 2016
Hi!
> > The problem is that the port requires a recent flex, but 9.3 has
> > an older version. [...]
> I had a nearly similar problem with graphics/qgis. This way it works for me:
>
> .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
> BUILD_DEPENDS+= flex>=2.5.39:${PORTSDIR}/textproc/flex
> CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex
> CXXFLAGS+= -I${LOCALBASE}/include/flex
> .endif
This works if the port uses cmake. Unfortunatly, miller does not use cmake.
--
pi at opsec.eu +49 171 3101372 4 years to go !
More information about the freebsd-ports
mailing list