diff options
Diffstat (limited to 'community/perl-libapreq2/link-in-apr-shared-objects.patch')
-rw-r--r-- | community/perl-libapreq2/link-in-apr-shared-objects.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/perl-libapreq2/link-in-apr-shared-objects.patch b/community/perl-libapreq2/link-in-apr-shared-objects.patch new file mode 100644 index 000000000..8a84a1589 --- /dev/null +++ b/community/perl-libapreq2/link-in-apr-shared-objects.patch @@ -0,0 +1,28 @@ +Don't try to regenerate Makefiles at installation time, as this will forget +to link against the internal copy of libapreq2-dev, which will cause problems +when trying to load the module outside Apache. + +Index: libapreq2-2.12/glue/Makefile.am +=================================================================== +--- libapreq2-2.12.orig/glue/Makefile.am ++++ libapreq2-2.12/glue/Makefile.am +@@ -15,7 +15,6 @@ perl_test: perl/Makefile + cd perl; $(MAKE) test + + perl_install: +- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ + cd perl; $(MAKE) install + + perl_clean: +Index: libapreq2-2.12/glue/Makefile.in +=================================================================== +--- libapreq2-2.12.orig/glue/Makefile.in ++++ libapreq2-2.12/glue/Makefile.in +@@ -265,7 +265,6 @@ perl_test: perl/Makefile + cd perl; $(MAKE) test + + perl_install: +- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ + cd perl; $(MAKE) install + + perl_clean: |