Files
klara-ports/www/libapreq2/files/patch-glue-perl-Makefile.PL
2025-07-18 07:09:53 +02:00

14 lines
646 B
Perl

--- glue/perl/Makefile.PL.orig 2022-08-18 09:18:20 UTC
+++ glue/perl/Makefile.PL
@@ -460,8 +460,8 @@ ModPerl::MM::WriteMakefile(
'NAME' => '$class',
'VERSION' => '$version',
'TYPEMAPS' => [qw(@$mp2_typemaps $typemap)],
- 'INC' => "-I$base_dir/glue/perl/xs -I$inc_dir -I$xs_dir $apache_includes",
- 'LIBS' => "$apreq_libs $apr_libs",
+ 'INC' => "-I$base_dir/glue/perl/xs -I$inc_dir -I$xs_dir $apache_includes -I\\\$(LOCALBASE)/%%APACHEINCLUDEDIR%%/modules/perl",
+ 'LIBS' => "$apreq_libs $apr_libs -L\\\$(LOCALBASE)/lib",
} ;
$txt .= "'depend' => $deps,\n" if ($deps) ;
$txt .= qq{