freebsd-ports/www/p5-MasonX-Apache2Handler/files/patch-Makefile.PL
Cheng-Lung Sung 6a7189eebe - p5-libapreq2 has been committed by kuriyama.
- apply kuriyama's modified patch to www/p5-MasonX-Apche2Handler.

PR:		ports/72037
Submitted by:	maintainer (Autrijus Tang <autrijus AT not.autrijus dot org>)
Reviewed by:	kuriyama
Approved by:	co-mentor (vanilla)
2004-10-14 16:17:40 +00:00

12 lines
355 B
Perl

--- Makefile.PL.orig Thu Sep 23 18:16:48 2004
+++ Makefile.PL Thu Sep 23 18:17:14 2004
@@ -14,6 +14,9 @@
*EOF*
sleep 3;
+# Detect PREREQ_PM if they are installed in Apache2/.
+eval { require Apache2 };
+
WriteMakefile(
NAME => 'MasonX::Apache2Handler',
VERSION_FROM => 'lib/MasonX/Apache2Handler.pm', # finds $VERSION