From owner-svn-ports-all@freebsd.org Tue Apr 21 10:10:22 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 4F7592C6DAE; Tue, 21 Apr 2020 10:10:22 +0000 (UTC) (envelope-from thierry@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 495zpQ1SJdz44mY; Tue, 21 Apr 2020 10:10:22 +0000 (UTC) (envelope-from thierry@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 2CC092723A; Tue, 21 Apr 2020 10:10:22 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03LAAMNk035415; Tue, 21 Apr 2020 10:10:22 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03LAAM6L035414; Tue, 21 Apr 2020 10:10:22 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202004211010.03LAAM6L035414@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Tue, 21 Apr 2020 10:10:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r532263 - head/math/pynac X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: head/math/pynac X-SVN-Commit-Revision: 532263 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Tue, 21 Apr 2020 10:10:22 -0000 Author: thierry Date: Tue Apr 21 10:10:21 2020 New Revision: 532263 URL: https://svnweb.freebsd.org/changeset/ports/532263 Log: - Do not enable GIAC by default: it is broken on 11.3, and anyway it is not very useful with SageMath; - Fix pkg-config when GIAC is selected. Modified: head/math/pynac/Makefile Modified: head/math/pynac/Makefile ============================================================================== --- head/math/pynac/Makefile Tue Apr 21 09:35:26 2020 (r532262) +++ head/math/pynac/Makefile Tue Apr 21 10:10:21 2020 (r532263) @@ -3,6 +3,7 @@ PORTNAME= pynac PORTVERSION= 0.7.26 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTNAME}/ @@ -19,7 +20,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \ USES= compiler:c++11-lang libtool localbase pkgconfig python:3.6+ tar:bz2 OPTIONS_DEFINE= GIAC -OPTIONS_DEFAULT= GIAC +OPTIONS_DEFAULT= GIAC_DESC= Use giac for polynomial manipulations GIAC_LIB_DEPENDS= libgiac.so:math/giacxcas GIAC_CONFIGURE_ON= --with-giac @@ -29,5 +30,14 @@ GIAC_LIBS= "-lm" GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check + +pre-configure-GIAC-on: + ${REINPLACE_CMD} -e 's|-lpynac|-lpynac -lgiac|' ${WRKSRC}/pynac.pc.in + +.include + +.if ${PORT_OPTIONS:MGIAC} +BROKEN_FreeBSD_11= libgiac is broken (undefined reference to `__divmodti4@GCC_7.0.0') +.endif .include