Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Sep 2003 14:53:51 +0200 (CEST)
From:      Lars Thegler <lars@thegler.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/56369: [PATCH] devel/p5-IPC-Run: Fix for perl>5.6
Message-ID:  <20030903125351.9DDF23E55@dask.thegler.dk>
Resent-Message-ID: <200309031300.h83D0P05053959@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56369
>Category:       ports
>Synopsis:       [PATCH] devel/p5-IPC-Run: Fix for perl>5.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 03 06:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.8-STABLE FreeBSD 4.8-STABLE #9: Tue Jul 29 01:39:22 CEST 2003
>Description:
- Fix for perl>5.6
- Make portlint happy

Port maintainer (tobez@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:

--- p5-IPC-Run-0.74.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-IPC-Run/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	7 Mar 2003 06:00:57 -0000	1.3
+++ Makefile	3 Sep 2003 12:52:31 -0000
@@ -16,15 +16,19 @@
 COMMENT=	IPC::Run - Run subprocesses with piping and redirection
 
 BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
-		${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO \
 		${SITE_PERL}/${PERL_ARCH}/IO/Tty.pm:${PORTSDIR}/devel/p5-IO-Tty
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
 PERL_CONFIGURE=	yes
 
 MAN3=	IPC::Run.3 IPC::Run::IO.3 IPC::Run::Timer.3 IPC::Run::Debug.3\
 	IPC::Run::Win32IO.3 IPC::Run::Win32Helper.3 IPC::Run::Win32Pump.3
-MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500600
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO
+.endif
+
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/p5-IPC-Run/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	26 Jun 2002 12:55:17 -0000	1.2
+++ pkg-plist	3 Sep 2003 12:52:31 -0000
@@ -1,12 +1,12 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IPC/Run/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/Timer.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/IO.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/Debug.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/Win32IO.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/Win32Helper.pm
-lib/perl5/site_perl/%%PERL_VER%%/IPC/Run/Win32Pump.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IPC/Run
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/IPC/Run
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IPC 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/IPC 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Run/.packlist
+%%SITE_PERL%%/IPC/Run.pm
+%%SITE_PERL%%/IPC/Run/Timer.pm
+%%SITE_PERL%%/IPC/Run/IO.pm
+%%SITE_PERL%%/IPC/Run/Debug.pm
+%%SITE_PERL%%/IPC/Run/Win32IO.pm
+%%SITE_PERL%%/IPC/Run/Win32Helper.pm
+%%SITE_PERL%%/IPC/Run/Win32Pump.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Run
+@dirrm %%SITE_PERL%%/IPC/Run
+@unexec rmdir %D%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC 2>/dev/null || true
+@unexec rmdir %D%%SITE_PERL%%/IPC 2>/dev/null || true
--- p5-IPC-Run-0.74.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903125351.9DDF23E55>