ports/80188: Update port: devel/p5-File-Temp
skv at FreeBSD.org
skv at FreeBSD.org
Thu Apr 21 08:30:32 UTC 2005
>Number: 80188
>Category: ports
>Synopsis: Update port: devel/p5-File-Temp
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 21 08:30:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Sergey Skvortsov
>Release: FreeBSD 4.11-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:
<Relevant environment information (multiple lines)>
>Description:
Update port: devel/p5-File-Temp
* make dependency on File::Spec unconditional
* remove IGNORE if perl >= 5.8
* fix pkg-plist
>How-To-Repeat:
<Code/input/activities to reproduce the problem (multiple lines)>
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-File-Temp/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 23 Feb 2005 03:19:16 -0000 1.12
+++ Makefile 21 Apr 2005 08:18:52 -0000
@@ -7,7 +7,7 @@
PORTNAME= File-Temp
PORTVERSION= 0.16
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
@@ -16,7 +16,8 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= Perl5 module to generate temporary files or directories safely
-BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -24,14 +25,4 @@
MAN3= File::Temp.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif
-.if ${PERL_LEVEL} > 500800
-IGNORE= "This module is already included in perl 5.8.x and later."
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/p5-File-Temp/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist 24 Oct 2003 12:01:51 -0000 1.2
+++ pkg-plist 21 Apr 2005 08:19:42 -0000
@@ -1,4 +1,5 @@
%%SITE_PERL%%/File/Temp.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Temp/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Temp
+ at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list