aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-ConfigReader-Simple/Makefile5
-rw-r--r--devel/p5-ConfigReader-Simple/files/patch-Makefile.PL10
2 files changed, 13 insertions, 2 deletions
diff --git a/devel/p5-ConfigReader-Simple/Makefile b/devel/p5-ConfigReader-Simple/Makefile
index ebfc668646d2..a58d9ce2e837 100644
--- a/devel/p5-ConfigReader-Simple/Makefile
+++ b/devel/p5-ConfigReader-Simple/Makefile
@@ -21,8 +21,9 @@ MAN3= ConfigReader::Simple.3
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Incorrect pkg-plist on FreeBSD 4.x"
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-ConfigReader-Simple/files/patch-Makefile.PL b/devel/p5-ConfigReader-Simple/files/patch-Makefile.PL
new file mode 100644
index 000000000000..3b144ae43a91
--- /dev/null
+++ b/devel/p5-ConfigReader-Simple/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig Sat Apr 30 00:56:58 2005
++++ Makefile.PL Sat Apr 30 00:57:57 2005
+@@ -11,7 +11,8 @@
+ 'Test::More' => '0',
+ },
+
++ 'MAN3PODS' => { 'lib/ConfigReader/Simple.pm' => 'blib/man3/ConfigReader::Simple.3' },
+ clean => { FILES => "ConfigReader-Simple-*" },
+
+ );