summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-12-29 16:24:43 +0000
committerclsung <clsung@FreeBSD.org>2004-12-29 16:24:43 +0000
commitf1324fb203bc0137a7d9b5533e6656ee7856ae53 (patch)
treef0f972a8923f3e53a5a01fb99a2fa2bb22af1aa7 /sysutils
parentde57882b48e35795958d7ffcabf0bda0de0d902e (diff)
downloadFreeBSD-ports-f1324fb203bc0137a7d9b5533e6656ee7856ae53.zip
FreeBSD-ports-f1324fb203bc0137a7d9b5533e6656ee7856ae53.tar.gz
- now it does install Unix::ConfigFile.3 in perl5.005.
Thanks to tobez@, who suggest and teach me to solve the problem, not just move the problem to /dev/null.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/p5-Unix-ConfigFile/Makefile6
-rw-r--r--sysutils/p5-Unix-ConfigFile/files/extra-patch-perl5.00512
2 files changed, 16 insertions, 2 deletions
diff --git a/sysutils/p5-Unix-ConfigFile/Makefile b/sysutils/p5-Unix-ConfigFile/Makefile
index 82ebd00..d061a4a 100644
--- a/sysutils/p5-Unix-ConfigFile/Makefile
+++ b/sysutils/p5-Unix-ConfigFile/Makefile
@@ -18,12 +18,14 @@ 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.pre.mk>
-.if ${PERL_LEVEL} >= 500601
-MAN3+= Unix::ConfigFile.3
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-perl5.005
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/p5-Unix-ConfigFile/files/extra-patch-perl5.005 b/sysutils/p5-Unix-ConfigFile/files/extra-patch-perl5.005
new file mode 100644
index 0000000..e86e191
--- /dev/null
+++ b/sysutils/p5-Unix-ConfigFile/files/extra-patch-perl5.005
@@ -0,0 +1,12 @@
+--- Makefile.PL.orig Fri Apr 16 04:32:54 1999
++++ Makefile.PL Thu Dec 30 00:09:35 2004
+@@ -4,4 +4,9 @@
+ WriteMakefile(
+ 'NAME' => 'Unix::ConfigFile',
+ 'VERSION_FROM' => 'ConfigFile.pm', # finds $VERSION
++ 'MAN3PODS' => {'AliasFile.pm' => 'blib/man3/Unix::AliasFile.3',
++ 'ConfigFile.pm' => 'blib/man3/Unix::ConfigFile.3',
++ 'PasswdFile.pm' => 'blib/man3/Unix::PasswdFile.3',
++ 'AutomountFile.pm' => 'blib/man3/Unix::AutomountFile.3',
++ 'GroupFile.pm' => 'blib/man3/Unix::GroupFile.3'}
+ );
OpenPOWER on IntegriCloud