From owner-svn-ports-all@freebsd.org Thu Jan 23 13:09:47 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 462221F1826 for ; Thu, 23 Jan 2020 13:09:47 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483N0W15djz4c21 for ; Thu, 23 Jan 2020 13:09:47 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id E6CB057E5 for ; Thu, 23 Jan 2020 13:09:46 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-ed1-f50.google.com with SMTP id c26so3228102eds.8 for ; Thu, 23 Jan 2020 05:09:46 -0800 (PST) X-Gm-Message-State: APjAAAUqggg8UCJTvORerDmX+dgjgH0+iGWe0+bZNASAQ9Cmi7qq+cD0 /9RgkiRIYySzA30WsYIH4N52tJzooiFfWtrYkaVlEA== X-Google-Smtp-Source: APXvYqywox0ygTua952V+IY5ZffESQ4Db6gwniB+GcBPMYfmZwR6HV39GDzVBR77EmFEAa1gM+IltFpmF2Q5A7WNwd8= X-Received: by 2002:a17:906:a859:: with SMTP id dx25mr6865924ejb.226.1579784985810; Thu, 23 Jan 2020 05:09:45 -0800 (PST) MIME-Version: 1.0 References: <202001231257.00NCvxX9048427@repo.freebsd.org> In-Reply-To: <202001231257.00NCvxX9048427@repo.freebsd.org> From: Po-Chuan Hsieh Date: Thu, 23 Jan 2020 21:09:09 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r523928 - head/graphics/tesseract To: Piotr Kubaj Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 13:09:47 -0000 On Thu, Jan 23, 2020 at 8:58 PM Piotr Kubaj 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 " 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 > > -.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" >