Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 21:09:09 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Piotr Kubaj <pkubaj@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r523928 - head/graphics/tesseract
Message-ID:  <CAMHz58Tu4hpZGh2ntZRBLVTVKDRYE2EFt2vwMp0FzN5NVPjJeQ@mail.gmail.com>
In-Reply-To: <202001231257.00NCvxX9048427@repo.freebsd.org>
References:  <202001231257.00NCvxX9048427@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 23, 2020 at 8:58 PM Piotr Kubaj <pkubaj@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58Tu4hpZGh2ntZRBLVTVKDRYE2EFt2vwMp0FzN5NVPjJeQ>