diff options
author | leeym <leeym@FreeBSD.org> | 2005-03-02 02:17:40 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-03-02 02:17:40 +0800 |
commit | 7d21457cf3ac422a7a0b5bfe97eab35fb644f72f (patch) | |
tree | 312b1b9cfd31bd5cac5c4396ea519a1f45569d83 /devel/p5-Test-Harness | |
parent | 915026621c31978b1487cb2393b351f85f66363c (diff) | |
download | freebsd-ports-gnome-7d21457cf3ac422a7a0b5bfe97eab35fb644f72f.tar.gz freebsd-ports-gnome-7d21457cf3ac422a7a0b5bfe97eab35fb644f72f.tar.zst freebsd-ports-gnome-7d21457cf3ac422a7a0b5bfe97eab35fb644f72f.zip |
- skip bin/prove and its manpage under perl 5.8
PR: 70233
Submitted by: leeym
Diffstat (limited to 'devel/p5-Test-Harness')
-rw-r--r-- | devel/p5-Test-Harness/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Test-Harness/pkg-plist | 2 |
2 files changed, 16 insertions, 6 deletions
diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile index e4ec80a1b33d..6f0356652fd1 100644 --- a/devel/p5-Test-Harness/Makefile +++ b/devel/p5-Test-Harness/Makefile @@ -22,14 +22,24 @@ MAN1= prove.1 MAN3= Test::Harness.3 Test::Harness::Assert.3 \ Test::Harness::Iterator.3 Test::Harness::Straps.3 -post-patch: - ${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL - .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500601 -BUILD_DEPENDS= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif + +.if ${PERL_LEVEL} >= 500800 +.undef MAN1 +PLIST_SUB+= PL_FILES="@comment " +.else +PLIST_SUB+= PL_FILES="" +.endif + +post-patch: + @${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} >= 500800 + @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL .endif .include <bsd.port.post.mk> diff --git a/devel/p5-Test-Harness/pkg-plist b/devel/p5-Test-Harness/pkg-plist index 0bf68542132e..7512253381f3 100644 --- a/devel/p5-Test-Harness/pkg-plist +++ b/devel/p5-Test-Harness/pkg-plist @@ -1,4 +1,4 @@ -bin/prove +%%PL_FILES%%bin/prove %%SITE_PERL%%/Test/Harness.pm %%SITE_PERL%%/Test/Harness/Assert.pm %%SITE_PERL%%/Test/Harness/Iterator.pm |