From owner-svn-ports-head@freebsd.org Tue Dec 10 17:11:42 2019 Return-Path: Delivered-To: svn-ports-head@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 701331DF207; Tue, 10 Dec 2019 17:11:42 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47XRRy20Fcz3QYC; Tue, 10 Dec 2019 17:11:42 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 331A32DE78; Tue, 10 Dec 2019 17:11:42 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBAHBgKa000804; Tue, 10 Dec 2019 17:11:42 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBAHBg2k000803; Tue, 10 Dec 2019 17:11:42 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201912101711.xBAHBg2k000803@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 10 Dec 2019 17:11:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519708 - head/math/py-rpy2 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/math/py-rpy2 X-SVN-Commit-Revision: 519708 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2019 17:11:42 -0000 Author: sunpoet Date: Tue Dec 10 17:11:41 2019 New Revision: 519708 URL: https://svnweb.freebsd.org/changeset/ports/519708 Log: Make devel/openmp an optional dependency - Bump PORTREVISION for dependency change It has been merged into base system since FreeBSD 11.3/12.1. Modified: head/math/py-rpy2/Makefile Modified: head/math/py-rpy2/Makefile ============================================================================== --- head/math/py-rpy2/Makefile Tue Dec 10 17:11:36 2019 (r519707) +++ head/math/py-rpy2/Makefile Tue Dec 10 17:11:41 2019 (r519708) @@ -3,6 +3,7 @@ PORTNAME= rpy2 DISTVERSION= 3.2.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +17,6 @@ LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.13.1:devel/py-cffi@${PY_FLAVOR} LIB_DEPENDS= libR.so:math/R \ libicui18n.so:devel/icu \ - libomp.so:devel/openmp \ libpcre.so:devel/pcre RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.13.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ @@ -37,4 +37,10 @@ PLIST_FILES= ${PYTHON_SITELIBDIR}/__pycache__/_rinterf post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_rinterface_cffi_api.abi3.so -.include +.include + +.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h) +LIB_DEPENDS+= libomp.so:devel/openmp +.endif + +.include