aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-ConfigReader-Simple
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-05-26 21:49:22 +0800
committerleeym <leeym@FreeBSD.org>2005-05-26 21:49:22 +0800
commitc01da819f36b165e9a0758a756cc1065723a7500 (patch)
tree224e7f6cf4631ff56d7c0f0a658d059c18048d0c /devel/p5-ConfigReader-Simple
parenteebde948d1f6f58bb77aa66134061ce407da9cca (diff)
downloadfreebsd-ports-gnome-c01da819f36b165e9a0758a756cc1065723a7500.tar.gz
freebsd-ports-gnome-c01da819f36b165e9a0758a756cc1065723a7500.tar.zst
freebsd-ports-gnome-c01da819f36b165e9a0758a756cc1065723a7500.zip
- manually set MAN3PODS to fix PLIST under perl 5.00503
- depends on Test::More under older perl PR: 80462 Submitted by: leeym Approved by: maintainer-timeout
Diffstat (limited to 'devel/p5-ConfigReader-Simple')
-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-*" },
+
+ );