Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Support (as a producer, not consumer) ExtUtils::Depends #85

Closed
mohawk2 opened this issue Sep 25, 2014 · 3 comments
Closed

Support (as a producer, not consumer) ExtUtils::Depends #85

mohawk2 opened this issue Sep 25, 2014 · 3 comments

Comments

@mohawk2
Copy link
Contributor

mohawk2 commented Sep 25, 2014

This would involve no more than providing Alien::modulename::Install::Files looking a lot like this:

package Alien::modulename::Install::Files;
use parent q(Alien::modulename); # inherit Inline method
1;

This would allow those wanting to write XS against Alien::modulename to put in their Makefile.PL to get for free the various CFLAGS etc:

my $eud = ExtUtils::Depends->new(qw(Othermodule Alien::modulename));
WriteMakefile(NAME => 'Othermodule', $eud->get_makefile_vars);

https://metacpan.org/pod/ExtUtils::Depends#hashref-ExtUtils::Depends::load-name

@plicease
Copy link
Contributor

When you say "provide" are you suggesting generate a Alien::Libfoo::Install::Files in blib a la Alien::Libfoo::ConfigData?

If so I don't see any reason not to, if it is useful.

@mohawk2
Copy link
Contributor Author

mohawk2 commented Sep 25, 2014

That is exactly what I'm suggesting. You can judge the usefulness from the snippet above.

@plicease
Copy link
Contributor

Addressed in 0.005_06

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants