aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-12-29 10:22:28 +0800
committerclsung <clsung@FreeBSD.org>2004-12-29 10:22:28 +0800
commit9b468894397a44f04fe20d3c1f90c8d4354a586a (patch)
tree2f877f32c3f5f6dfec11f4e14b7607ac37d38302
parent70068f126823ebf85d110ec69faaa56f3d73571b (diff)
downloadfreebsd-ports-gnome-9b468894397a44f04fe20d3c1f90c8d4354a586a.tar.gz
freebsd-ports-gnome-9b468894397a44f04fe20d3c1f90c8d4354a586a.tar.zst
freebsd-ports-gnome-9b468894397a44f04fe20d3c1f90c8d4354a586a.zip
- does not install Unix::ConfigFile.3 under perl5.005
Noticed by: kris
-rw-r--r--sysutils/p5-Unix-ConfigFile/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/p5-Unix-ConfigFile/Makefile b/sysutils/p5-Unix-ConfigFile/Makefile
index e4856d5b7dd7..82ebd0073698 100644
--- a/sysutils/p5-Unix-ConfigFile/Makefile
+++ b/sysutils/p5-Unix-ConfigFile/Makefile
@@ -18,7 +18,12 @@ COMMENT= Perl modules that provides a simple interface to reading /etc files
PERL_CONFIGURE= yes
MAN3= Unix::GroupFile.3 Unix::AliasFile.3 \
- Unix::ConfigFile.3 \
Unix::PasswdFile.3 Unix::AutomountFile.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 500601
+MAN3+= Unix::ConfigFile.3
+.endif
+
+.include <bsd.port.post.mk>