From owner-svn-ports-all@freebsd.org Sun Sep 6 15:40:05 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 7B2DC3D4F2F; Sun, 6 Sep 2020 15:40:05 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bkwb712qzz45Zn; Sun, 6 Sep 2020 15:40:02 +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 B190410D09; Sun, 6 Sep 2020 15:40:00 +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 086Fe0Xr088038; Sun, 6 Sep 2020 15:40:00 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 086Fe0OO088035; Sun, 6 Sep 2020 15:40:00 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202009061540.086Fe0OO088035@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 6 Sep 2020 15:40:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547853 - in head/math/p5-Math-MPFR: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/math/p5-Math-MPFR: . files X-SVN-Commit-Revision: 547853 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.33 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: Sun, 06 Sep 2020 15:40:05 -0000 Author: sunpoet Date: Sun Sep 6 15:40:00 2020 New Revision: 547853 URL: https://svnweb.freebsd.org/changeset/ports/547853 Log: Convert REINPLACE_CMD to patch file Added: head/math/p5-Math-MPFR/files/ head/math/p5-Math-MPFR/files/patch-Makefile.PL (contents, props changed) Modified: head/math/p5-Math-MPFR/Makefile Modified: head/math/p5-Math-MPFR/Makefile ============================================================================== --- head/math/p5-Math-MPFR/Makefile Sun Sep 6 15:39:55 2020 (r547852) +++ head/math/p5-Math-MPFR/Makefile Sun Sep 6 15:40:00 2020 (r547853) @@ -23,9 +23,6 @@ TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \ USES= localbase perl5 USE_PERL5= configure -post-patch: - @${REINPLACE_CMD} -e 's| -lquadmath||' ${WRKSRC}/Makefile.PL - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/MPFR.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/MPFR/Prec/Prec.so Added: head/math/p5-Math-MPFR/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-MPFR/files/patch-Makefile.PL Sun Sep 6 15:40:00 2020 (r547853) @@ -0,0 +1,20 @@ +--- Makefile.PL.orig 2020-07-13 12:00:38 UTC ++++ Makefile.PL +@@ -193,7 +193,7 @@ else { # we still need to determine whether__float128 + $mycc = defined($Config{cc}) ? $Config{cc} : 'cc'; + } + +- $mylibs = '-lmpfr -lgmp -lquadmath' unless $mylibs; ++ $mylibs = '-lmpfr -lgmp' unless $mylibs; + + # Include $mylibs to ensure that -lquadmath is locatable. + my $out = `$mycc -o have_f128.exe -x c have_f128.in $mylibs 2>&1`; +@@ -336,7 +336,7 @@ my %options = ( + ABSTRACT => 'Perl interface to the MPFR (floating point) library', + DEFINE => $defines, + LIBS => [ +- '-lmpfr -lgmp -lquadmath' ++ '-lmpfr -lgmp' + ], + PREREQ_PM => { + 'Test::More' => '0.88',