diff --git a/dev-perl/module_build/module_build-0.4229.recipe b/dev-perl/module_build/module_build-0.4234.recipe similarity index 75% rename from dev-perl/module_build/module_build-0.4229.recipe rename to dev-perl/module_build/module_build-0.4234.recipe index 7e36f8043..589029d39 100644 --- a/dev-perl/module_build/module_build-0.4229.recipe +++ b/dev-perl/module_build/module_build-0.4234.recipe @@ -8,9 +8,9 @@ very cross-platform way." HOMEPAGE="https://metacpan.org/pod/distribution/Module-Build/lib/Module/Build.pm" COPYRIGHT="2001-2006 Ken Williams" LICENSE="Artistic" -REVISION="2" +REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-$portVersion.tar.gz" -CHECKSUM_SHA256="1fe491a6cda914b01bc8e592faa2b5404e9f35915ca15322f8f2a8d8f9008c18" +CHECKSUM_SHA256="66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f" SOURCE_DIR="Module-Build-$portVersion" ARCHITECTURES="any" @@ -20,6 +20,7 @@ PROVIDES=" cmd:config_data " REQUIRES=" + haiku vendor_perl " @@ -29,6 +30,10 @@ BUILD_REQUIRES=" BUILD_PREREQUIRES=" " +TEST_REQUIRES=" + cmd:make + " + BUILD() { export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values @@ -38,7 +43,12 @@ BUILD() INSTALL() { - ./Build install --installdirs vendor + ./Build install + + # remove architecture-specific files + cd $prefix + rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) + # cut extracts the quoted string and strips the prefix (which is perl's and not ours) } TEST()