Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584306 - dev-lang/perl: Cygwin support
Summary: dev-lang/perl: Cygwin support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 09:05 UTC by Michael Haubenwallner (RETIRED)
Modified: 2016-06-04 21:28 UTC (History)
0 users

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


Attachments
cygwin-libperl.patch: avoid libperl.dll.dll.a (cygwin-libperl.patch,1.08 KB, patch)
2016-05-27 09:05 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2016-05-27 09:05:21 UTC
Created attachment 435540 [details, diff]
cygwin-libperl.patch: avoid libperl.dll.dll.a

For Cygwin support in dev-lang/perl, it is necessary to:

* list cygwin in the pkg_setup eblits:
  --- files/eblits/pkg_setup-v5*.eblit
  +++ files/eblits/pkg_setup-v5*.eblit
  @@ -11,6 +11,7 @@ eblit-perl-pkg_setup() {
                *-darwin*)    osname="darwin" ;;
                *-interix*)   osname="interix" ;;
                *-aix*)       osname="aix" ;;
  +             *-cygwin*)    osname="cygwin" ;;
                *)            osname="linux" ;;
        esac

* apply one upstream-reported patch to accept -Dlibperl=libperl.dll.a
  http://www.nntp.perl.org/group/perl.perl5.porters/2016/05/msg236729.html
  ('ve failed to find the perl-patches repo)

Thanks!
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-06-03 23:58:44 UTC
This is a bit of a pain to patch, since it needs to go into

* dev-lang/perl patchset
* perl-core/ExtUtils-MakeMaker 
* and may need a virtual revbump.

How urgent is it? :)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2016-06-04 21:28:33 UTC
commit 2bc7e585241d07283b19902ce1330bb77b8688a0
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jun 4 23:27:42 2016 +0200

    dev-lang/perl: Add cygwin support, bug 584306
    
    Package-Manager: portage-2.3.0_rc1

 dev-lang/perl/Manifest              | 1 +
 dev-lang/perl/perl-5.24.0-r1.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)