Date: Fri, 6 Dec 2019 15:00:54 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519148 - head/graphics/tesseract Message-ID: <201912061500.xB6F0sWr084338@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Fri Dec 6 15:00:54 2019 New Revision: 519148 URL: https://svnweb.freebsd.org/changeset/ports/519148 Log: graphics/tesseract: fix libomp dependency Use devel/openmp only on 12.0. PR: 242292 Submitted by: jonc@chen.org.nz Modified: head/graphics/tesseract/Makefile Modified: head/graphics/tesseract/Makefile ============================================================================== --- head/graphics/tesseract/Makefile Fri Dec 6 14:42:58 2019 (r519147) +++ head/graphics/tesseract/Makefile Fri Dec 6 15:00:54 2019 (r519148) @@ -44,13 +44,18 @@ OPTIONS_DEFAULT_i386=OPENMP OPTIONS_SUB= yes OPENMP_CONFIGURE_ENABLE=openmp -OPENMP_LIB_DEPENDS=libomp.so:devel/openmp TOOLS_DESC= Include training tools TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ libfontconfig.so:x11-fonts/fontconfig TOOLS_USE= GNOME=cairo,glib20,pango +.include <bsd.port.pre.mk> + +.if ${OSREL:R} >= 12 && ${OSVERSION} < 1201000 +OPENMP_LIB_DEPENDS=libomp.so:devel/openmp +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure.ac @@ -64,4 +69,4 @@ post-install-DOCS-on: post-install-TOOLS-on: @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912061500.xB6F0sWr084338>