getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

perl macros: Update to check for Makefile.PL first #66

Closed TraceyC77 closed 6 months ago

TraceyC77 commented 6 months ago

Prefer Makefile.PL in the perl macros to support current build standards Fixes getsolus/ypkg/issues/65

TraceyC77 commented 6 months ago

Did a smoke test with an update to perl-locale-codes which uses perl macros in its package.yml Package built and installed successfully

https://github.com/getsolus/packages/pull/1841

joebonrichie commented 6 months ago

Initially looks good, i'm hoping eventually we can nuke support for Module::Build all together such that we only need a %perl_setup macro so that standard %make and %make_install macros can be used.

TraceyC77 commented 6 months ago

@joebonrichie We won't be able to nuke support for Module::Build so long as there are any perl modules that continue to use it. We can't control external projects.