Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618332 - sci-mathematics/polymake-3.0_p2 [singular] PATCH rename -lresources to -lsingular_resources
Summary: sci-mathematics/polymake-3.0_p2 [singular] PATCH rename -lresources to -lsing...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-05-13 06:10 UTC by Alessandro Barbieri
Modified: 2021-10-23 00:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-05-13 06:10:13 UTC
A patch for building polymake-3.0_p2[singular]
maybe the path needs changes in base on how the patch is applied

--- work/bundled/singular/configure.pl  2016-07-22 14:23:31.000000000 +0200
+++ /tmp/configure.pl   2017-05-13 07:13:33.025861902 +0200
@@ -46,7 +46,7 @@
    chomp $singular_prefix;
    # yes we need it twice ...

-   $Libs = join(" ",$LDflags =~ m/(-l\w+)/g) . " -lfactory -lresources -lpolys -lomalloc";
+   $Libs = join(" ",$LDflags =~ m/(-l\w+)/g) . " -lfactory -lsingular_resources -lpolys -lomalloc";
    $LDflags =~ s/ -l\w+//g;
    $LDflags =~ s/-L(\S+)/-L$1 -Wl,-rpath,$1/g;
    my $libdir = $1;
Comment 1 Larry the Git Cow gentoo-dev 2021-10-23 00:17:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8613a7ef8e28bae0e4d6002e03676110919783

commit db8613a7ef8e28bae0e4d6002e03676110919783
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-10-21 23:34:01 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-10-23 00:11:23 +0000

    sci-mathematics/polymake: new upstream version 4.5.
    
    Lots of ebuild improvements (EAPI=8,...) in this one. Several bugs
    have been fixed, and some new ones likely introduced; best not to
    dwell. Now that we have something passable in the tree, it will be a
    lot easier to make incremental improvements.
    
    Closes: https://bugs.gentoo.org/618332
    Closes: https://bugs.gentoo.org/625512
    Closes: https://bugs.gentoo.org/648804
    Closes: https://github.com/gentoo/gentoo/pull/17925
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/polymake/Manifest               |   2 +-
 sci-mathematics/polymake/metadata.xml           |  52 ++++++++---
 sci-mathematics/polymake/polymake-3.0_p2.ebuild |  90 ------------------
 sci-mathematics/polymake/polymake-4.5.ebuild    | 117 ++++++++++++++++++++++++
 4 files changed, 158 insertions(+), 103 deletions(-)