svn commit: r523928 - head/graphics/tesseract
Po-Chuan Hsieh
sunpoet at freebsd.org
Thu Jan 23 13:09:47 UTC 2020
On Thu, Jan 23, 2020 at 8:58 PM Piotr Kubaj <pkubaj at freebsd.org> wrote:
> Author: pkubaj
> Date: Thu Jan 23 12:57:59 2020
> New Revision: 523928
> URL: https://svnweb.freebsd.org/changeset/ports/523928
>
> Log:
> graphics/tesseract: FreeBSD 11.2 is EOL
>
Hi Piotr,
The check is for 12.0 but I noticed 2 problems here:
- Setting option helper after ".include <bsd.port.pre.mk>" is no-op.
- This change includes FreeBSD 11.3 which has libomp.so in base.
I use the following in math/py-rpy2.
.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h)
LIB_DEPENDS+= libomp.so:devel/openmp
.endif
Hope this helps.
Regards,
sunpoet
> Modified:
> head/graphics/tesseract/Makefile
>
> Modified: head/graphics/tesseract/Makefile
>
> ==============================================================================
> --- head/graphics/tesseract/Makefile Thu Jan 23 12:56:27 2020
> (r523927)
> +++ head/graphics/tesseract/Makefile Thu Jan 23 12:57:59 2020
> (r523928)
> @@ -51,7 +51,7 @@ TOOLS_USE= GNOME=cairo,glib20,pango
>
> .include <bsd.port.pre.mk>
>
> -.if ${OSREL:R} >= 12 && ${OSVERSION} < 1201000
> +.if ${OSVERSION} < 1201000
> OPENMP_LIB_DEPENDS=libomp.so:devel/openmp
> .endif
>
> _______________________________________________
> svn-ports-all at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
>
More information about the svn-ports-all
mailing list