aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Parse-PerlConfig
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-03-01 21:14:03 +0800
committererwin <erwin@FreeBSD.org>2005-03-01 21:14:03 +0800
commit3447fecdf4c064f7a2104590931bb0a4b9253125 (patch)
treea0abdd2933de777acc3187a19cc818478e84bbb1 /devel/p5-Parse-PerlConfig
parentea2722d7709aae5254330e7098f0c575e4fbd118 (diff)
downloadfreebsd-ports-gnome-3447fecdf4c064f7a2104590931bb0a4b9253125.tar.gz
freebsd-ports-gnome-3447fecdf4c064f7a2104590931bb0a4b9253125.tar.zst
freebsd-ports-gnome-3447fecdf4c064f7a2104590931bb0a4b9253125.zip
Patch Makefile.PL to work around old Makemaker, so that the manpage
also gets installed for ancient perl versions. Suggested by: tobez
Diffstat (limited to 'devel/p5-Parse-PerlConfig')
-rw-r--r--devel/p5-Parse-PerlConfig/Makefile10
-rw-r--r--devel/p5-Parse-PerlConfig/files/patch-Makefile.PL13
2 files changed, 16 insertions, 7 deletions
diff --git a/devel/p5-Parse-PerlConfig/Makefile b/devel/p5-Parse-PerlConfig/Makefile
index 09948e5fd8db..414080c52f61 100644
--- a/devel/p5-Parse-PerlConfig/Makefile
+++ b/devel/p5-Parse-PerlConfig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Parse-PerlConfig
PORTVERSION= 0.05
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Parse
@@ -18,10 +18,6 @@ COMMENT= Perl5 module to use perl scripts as config files
PERL_CONFIGURE= yes
-.include <bsd.port.pre.mk>
+MAN3= Parse::PerlConfig.3
-.if ${PERL_LEVEL} >= 500600
-MAN3+= Parse::PerlConfig.3
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/p5-Parse-PerlConfig/files/patch-Makefile.PL b/devel/p5-Parse-PerlConfig/files/patch-Makefile.PL
new file mode 100644
index 000000000000..0376e26bb685
--- /dev/null
+++ b/devel/p5-Parse-PerlConfig/files/patch-Makefile.PL
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig Wed Feb 16 14:14:05 2000
++++ Makefile.PL Tue Mar 1 14:10:35 2005
+@@ -19,6 +19,10 @@
+ 'PerlConfig.pm' => '$(INST_LIBDIR)/PerlConfig.pm'
+ },
+
++ 'MAN3PODS' => {
++ 'PerlConfig.pm' => '$(INST_MAN3DIR)/Parse::PerlConfig.$(MAN3EXT)'
++ },
++
+
+ # This may not be portable, as I found the TESTS attribute in
+ # ExtUtils::MM_Unix.pm's source. However, it seems cleaner and