add www/libaprep2 from porttree

This commit is contained in:
2025-07-18 04:25:11 +02:00
parent 8befa9b010
commit afb8ac49b7
7 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ./glue/Makefile.in.orig 2009-04-13 06:32:19.000000000 +0000
+++ ./glue/Makefile.in 2009-04-13 06:32:29.000000000 +0000
@@ -266,7 +266,7 @@
perl_install:
cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@
- cd perl; $(MAKE) install
+ cd perl; $(MAKE) pure_install
perl_clean:
-cd perl; $(MAKE) clean

View File

@ -0,0 +1,13 @@
--- glue/perl/Makefile.PL.orig 2006-08-09 04:26:45.000000000 +0000
+++ glue/perl/Makefile.PL 2008-08-25 18:07:08.000000000 +0000
@@ -415,8 +450,8 @@
'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{

View File

@ -0,0 +1,11 @@
--- module/Makefile.in.orig 2023-03-13 19:18:13.887355000 +0100
+++ module/Makefile.in 2023-03-13 19:19:15.902362000 +0100
@@ -100,7 +100,7 @@ CONFIG_CLEAN_VPATH_FILES =
CONFIG_HEADER = $(top_builddir)/include/apreq_config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
-PROGRAMS = $(noinst_PROGRAMS)
+PROGRAMS =
test_cgi_SOURCES = test_cgi.c
test_cgi_OBJECTS = test_cgi.$(OBJEXT)
test_cgi_LDADD = $(LDADD)