ports/70290: make p5-File-Temp a conditional depends

Ying-Chieh Liao ijliao at FreeBSD.csie.NCTU.edu.tw
Wed Aug 11 08:10:27 UTC 2004


>Number:         70290
>Category:       ports
>Synopsis:       make p5-File-Temp a conditional depends
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 11 08:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004 root at FreeBSD.csie.NCTU.edu.tw:/home/usr.obj/big/freebsd/pub/branches/4.0-stable/src/sys/FREEBSD i386


	
>Description:

File::Temp is part of perl 5.8, so make it a conditional depends

>How-To-Repeat:
	
>Fix:

	

--- patch begins here ---
Index: ports/biology/p5-bioperl/Makefile
===================================================================
RCS file: /home/pcvs/ports/biology/p5-bioperl/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- ports/biology/p5-bioperl/Makefile	8 Mar 2004 03:29:16 -0000	1.11
+++ ports/biology/p5-bioperl/Makefile	11 Aug 2004 08:04:18 -0000
@@ -20,7 +20,6 @@
 # prevents a flood of build-time warnings.
 BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Ace.pm:${PORTSDIR}/biology/p5-AcePerl \
 		${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww \
 		${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
 		${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
@@ -612,6 +611,10 @@
 
 .if ${PERL_LEVEL} < 500600
 IGNORE=			"This port requires Perl 5.6 or better"
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 # now install all extra stuff (docs, examples, scripts, models)
Index: ports/databases/p5-Class-DBI/Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-Class-DBI/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- ports/databases/p5-Class-DBI/Makefile	12 Jul 2004 12:44:36 -0000	1.10
+++ ports/databases/p5-Class-DBI/Makefile	11 Aug 2004 08:04:18 -0000
@@ -18,7 +18,6 @@
 BUILD_DEPENDS=	${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
 		${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
 		${SITE_PERL}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
 		${SITE_PERL}/UNIVERSAL/moniker.pm:${PORTSDIR}/devel/p5-UNIVERSAL-moniker \
 		${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
@@ -38,6 +37,10 @@
 
 .if ${PERL_LEVEL} < 500600
 EXTRA_PATCHES=	${PATCHDIR}/5.005-lib::Class::DBI.pm ${PATCHDIR}/5.005-Makefile.PL
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/devel/cvsmonitor/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/cvsmonitor/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- ports/devel/cvsmonitor/Makefile	16 Jan 2004 14:24:33 -0000	1.5
+++ ports/devel/cvsmonitor/Makefile	11 Aug 2004 08:04:18 -0000
@@ -27,7 +27,6 @@
 		${SITE_PERL}/Validate/Net.pm:${PORTSDIR}/net/p5-Validate-Net \
 		${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
 		${SITE_PERL}/Chart/Math/Axis.pm:${PORTSDIR}/math/p5-Chart-Math-Axis \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/File/Flat.pm:${PORTSDIR}/devel/p5-File-Flat \
 		${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
 		${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \
@@ -66,6 +65,12 @@
 
 CVSMONITOR_ROOT=	${PREFIX}/${CGIDIR}/cvsmonitor
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
 post-patch:
 	@${PERL} -pi -e '$$_=q{	my $$solaris=1;} if $$.==270' \
 		${WRKSRC}/modules/CVSMonitor/MetaData/Module.pm
@@ -84,4 +89,4 @@
 .endfor
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: ports/devel/p5-Data-TemporaryBag/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Data-TemporaryBag/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- ports/devel/p5-Data-TemporaryBag/Makefile	29 Jan 2004 09:38:18 -0000	1.6
+++ ports/devel/p5-Data-TemporaryBag/Makefile	11 Aug 2004 08:04:18 -0000
@@ -15,7 +15,6 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Handle long size data using temporary file
 
-BUILD_DEPENDS=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -26,6 +25,10 @@
 
 .if ${PERL_LEVEL} < 500600
 EXTRA_PATCHES=	${PATCHDIR}/500503-TemporaryBag.pm
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/devel/p5-File-Flat/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-File-Flat/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/devel/p5-File-Flat/Makefile	15 Oct 2003 10:40:36 -0000	1.3
+++ ports/devel/p5-File-Flat/Makefile	11 Aug 2004 08:04:18 -0000
@@ -15,8 +15,7 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Implements a flat filesystem
 
-BUILD_DEPENDS=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
-		${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
+BUILD_DEPENDS=	${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
 		${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector \
 		${SITE_PERL}/File/Remove.pm:${PORTSDIR}/devel/p5-File-Remove \
 		${SITE_PERL}/File/NCopy.pm:${PORTSDIR}/devel/p5-File-NCopy
@@ -26,4 +25,10 @@
 
 MAN3=		File::Flat.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
+.include <bsd.port.post.mk>
Index: ports/devel/p5-File-Modified/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-File-Modified/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- ports/devel/p5-File-Modified/Makefile	8 Jul 2004 12:18:07 -0000	1.1
+++ ports/devel/p5-File-Modified/Makefile	11 Aug 2004 08:04:18 -0000
@@ -14,8 +14,7 @@
 COMMENT=	Perl module for checking intelligently if files have changed
 
 BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
-		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -23,6 +22,10 @@
 MAN3=		File::Modified.3
 
 .include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
 
 post-patch:
 	${PERL} -pi -e 's/\r\n/\n/;' -e 's/^use warnings;//' ${WRKSRC}/Modified.pm
Index: ports/devel/p5-Log-Dispatch-Config/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Log-Dispatch-Config/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/devel/p5-Log-Dispatch-Config/Makefile	24 Oct 2003 14:15:19 -0000	1.3
+++ ports/devel/p5-Log-Dispatch-Config/Makefile	11 Aug 2004 08:04:18 -0000
@@ -22,7 +22,6 @@
 PM_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 PM_DEPENDS+=	${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig
 PM_DEPENDS+=	${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
-PM_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 
 PERL_CONFIGURE=	yes
 
@@ -30,4 +29,10 @@
 #		Log::Dispatch::Configurator.3 \
 #		Log::Dispatch::Configurator::AppConfig.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+PM_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
+.include <bsd.port.post.mk>
Index: ports/devel/p5-PAR/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-PAR/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- ports/devel/p5-PAR/Makefile	4 Feb 2004 05:19:48 -0000	1.6
+++ ports/devel/p5-PAR/Makefile	11 Aug 2004 08:04:18 -0000
@@ -18,7 +18,6 @@
 
 BUILD_DEPENDS=	${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
 		${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/Module/ScanDeps/DataFeed.pm:${PORTSDIR}/devel/p5-Module-ScanDeps \
 		${SITE_PERL}/Module/Signature.pm:${PORTSDIR}/security/p5-Module-Signature \
 		${SITE_PERL}/PAR/Dist.pm:${PORTSDIR}/devel/p5-PAR-Dist \
@@ -34,6 +33,10 @@
 		PAR::Filter::PodStrip.3 PAR::Heavy.3 PAR::Tutorial.3
 
 .include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
 
 pre-everything::
 .if ${PERL_LEVEL} < 500601
Index: ports/devel/p5-VCP/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-VCP/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/devel/p5-VCP/Makefile	11 May 2004 02:56:10 -0000	1.3
+++ ports/devel/p5-VCP/Makefile	11 Aug 2004 08:04:18 -0000
@@ -21,7 +21,6 @@
 		${SITE_PERL}/IPC/Run3.pm:${PORTSDIR}/devel/p5-IPC-Run3 \
 		${SITE_PERL}/Pod/Links.pm:${PORTSDIR}/www/p5-PodToHTML \
 		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/Regexp/Shellish.pm:${PORTSDIR}/devel/p5-Regexp-Shellish \
 		${SITE_PERL}/BFD.pm:${PORTSDIR}/devel/p5-BFD \
 		${SITE_PERL}/Text/Table.pm:${PORTSDIR}/textproc/p5-Text-Table \
@@ -106,6 +105,10 @@
 
 .if ${PERL_LEVEL} < 500600
 BROKEN=		"Does not compile with perl ${PERL_VERSION}"
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/mail/mailscanner/Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/mailscanner/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- ports/mail/mailscanner/Makefile	8 Aug 2004 17:16:18 -0000	1.21
+++ ports/mail/mailscanner/Makefile	11 Aug 2004 08:04:18 -0000
@@ -21,7 +21,6 @@
 	${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \
 	${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
 	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
-	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
 	${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \
 	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
@@ -52,6 +51,10 @@
 .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
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 DOC_FILES=	INSTALL INSTALL.FreeBSD INSTALL.OpenBSD README
Index: ports/mail/mailscanner-devel/Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/mailscanner-devel/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- ports/mail/mailscanner-devel/Makefile	28 Jul 2004 17:54:28 -0000	1.19
+++ ports/mail/mailscanner-devel/Makefile	11 Aug 2004 08:04:18 -0000
@@ -22,7 +22,6 @@
 	${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \
 	${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
 	${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \
-	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 	${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
 	${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \
 	${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
@@ -53,6 +52,10 @@
 .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
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 DOC_FILES=	INSTALL INSTALL.FreeBSD INSTALL.OpenBSD README
Index: ports/mail/p5-Mail-GnuPG/Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/p5-Mail-GnuPG/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- ports/mail/p5-Mail-GnuPG/Makefile	19 Jul 2004 15:06:04 -0000	1.5
+++ ports/mail/p5-Mail-GnuPG/Makefile	11 Aug 2004 08:04:18 -0000
@@ -18,7 +18,6 @@
 
 BUILD_DEPENDS=	${SITE_PERL}/GnuPG/Interface.pm:${PORTSDIR}/security/p5-GnuPG-Interface \
 		${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
 		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 RUN_DEPENDS=	${BUILD_DEPENDS}
@@ -31,6 +30,10 @@
 
 .if ${PERL_LEVEL} < 500601
 IGNORE=		This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/net/rude/Makefile
===================================================================
RCS file: /home/pcvs/ports/net/rude/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- ports/net/rude/Makefile	21 Dec 2003 23:12:25 -0000	1.1
+++ ports/net/rude/Makefile	11 Aug 2004 08:04:18 -0000
@@ -14,8 +14,7 @@
 MAINTAINER=	Janos.Mohacsi at bsd.hu
 COMMENT=	Rude is a Real-time UDP Data Emitter and Collector (crude)
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	--with-debug-lvl=3
@@ -26,6 +25,12 @@
 DOC_FILES=	README README.rude README.crude TODO example.cfg
 EXAMPLE_FILES=	crude_jitter.pl crude_parse.pl dump2trace.pl
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/grude/grude ${PREFIX}/bin
 .ifndef(NOPORTDOCS)
@@ -38,4 +43,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: ports/print/muttprint/Makefile
===================================================================
RCS file: /home/pcvs/ports/print/muttprint/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- ports/print/muttprint/Makefile	28 May 2004 08:47:29 -0000	1.25
+++ ports/print/muttprint/Makefile	11 Aug 2004 08:04:18 -0000
@@ -23,8 +23,7 @@
 		uncompface:${PORTSDIR}/mail/faces \
 		convert:${PORTSDIR}/graphics/ImageMagick \
 		${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
-		${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+		${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv
 .if defined(WITH_CUPS)
 RUN_DEPENDS+=	cupstestppd:${PORTSDIR}/print/cups-lpr \
 		espgs:${PORTSDIR}/print/cups-pstoraster
@@ -33,6 +32,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 LIB_DEPENDS+=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
 MAKE_ENV+=	CCFLAGS="-I${PREFIX}/include"
 PLIST_SUB+=	LANGINFO=""
Index: ports/textproc/p5-XML-SAX/Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-XML-SAX/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- ports/textproc/p5-XML-SAX/Makefile	27 Feb 2003 09:29:13 -0000	1.6
+++ ports/textproc/p5-XML-SAX/Makefile	11 Aug 2004 08:04:18 -0000
@@ -15,9 +15,8 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Simple API for XML
 
-RUN_DEPENDS=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
-		${SITE_PERL}/XML/NamespaceSupport.pm:${PORTSDIR}/textproc/p5-XML-NamespaceSupport
-BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS=	${SITE_PERL}/XML/NamespaceSupport.pm:${PORTSDIR}/textproc/p5-XML-NamespaceSupport
+RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS= </dev/null
@@ -28,9 +27,15 @@
 		XML::SAX::PurePerl::Reader.3
 MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
 post-configure:
 # dirty hack to deceive irritable pod2man
 		@${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' \
 				${WRKSRC}/Makefile
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: ports/www/p5-Bundle-Sledge/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Bundle-Sledge/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- ports/www/p5-Bundle-Sledge/Makefile	24 Oct 2003 14:15:29 -0000	1.5
+++ ports/www/p5-Bundle-Sledge/Makefile	11 Aug 2004 08:04:18 -0000
@@ -29,7 +29,6 @@
 PM_DEPENDS+=	${SITE_PERL}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger
 PM_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
 PM_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
-PM_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 PM_DEPENDS+=	${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm
 PM_DEPENDS+=	${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
 PM_DEPENDS+=	${SITE_PERL}/HTML/StickyQuery.pm:${PORTSDIR}/www/p5-HTML-StickyQuery
@@ -54,6 +53,10 @@
 .if ${PERL_LEVEL} < 500601
 PM_DEPENDS+=	${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
 PM_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.if ${PERL_LEVEL} < 500800
+PM_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/www/p5-Template-Toolkit/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Template-Toolkit/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- ports/www/p5-Template-Toolkit/Makefile	29 Jun 2004 12:46:54 -0000	1.14
+++ ports/www/p5-Template-Toolkit/Makefile	11 Aug 2004 08:04:18 -0000
@@ -15,8 +15,7 @@
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Extensive Toolkit for template processing
 
-BUILD_DEPENDS=	${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+BUILD_DEPENDS=	${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -27,6 +26,10 @@
 
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .if defined(BATCH)
Index: ports/www/p5-WWW-Mechanize/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-WWW-Mechanize/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- ports/www/p5-WWW-Mechanize/Makefile	6 Jul 2004 14:07:08 -0000	1.8
+++ ports/www/p5-WWW-Mechanize/Makefile	11 Aug 2004 08:04:18 -0000
@@ -17,7 +17,6 @@
 
 BUILD_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
 		${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
 		${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
 RUN_DEPENDS=	${BUILD_DEPENDS}
@@ -40,6 +39,10 @@
 		-e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \
 		-e '$$_="" if /use warnings/;' \
 		${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/www/reportmagic/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/reportmagic/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- ports/www/reportmagic/Makefile	24 Oct 2003 12:05:01 -0000	1.9
+++ ports/www/reportmagic/Makefile	11 Aug 2004 08:04:18 -0000
@@ -20,12 +20,17 @@
 RUN_DEPENDS=	analog:${PORTSDIR}/www/analog \
 		${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d \
 		${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
-		${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+		${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
 NO_BUILD=	YES
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
 do-install:
 	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Install.PL -no_modules
 
@@ -36,4 +41,4 @@
 	@${ECHO} "using Report Magic."
 	@${ECHO}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: ports/www/rt2/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/rt2/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- ports/www/rt2/Makefile	9 Feb 2004 01:48:53 -0000	1.14
+++ ports/www/rt2/Makefile	11 Aug 2004 08:04:18 -0000
@@ -38,8 +38,7 @@
 		${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
 		${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
 		${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \
-		${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+		${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm
 
 WRKSRC=		${WRKDIR}/rt-${RT_VERSION}
 RT_VERSION=	${PORTVERSION:C/\./-/g}
@@ -158,6 +157,10 @@
 .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
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
Index: ports/www/rt3/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/rt3/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- ports/www/rt3/Makefile	26 May 2004 07:47:34 -0000	1.38
+++ ports/www/rt3/Makefile	11 Aug 2004 08:04:18 -0000
@@ -25,7 +25,6 @@
 		${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
 		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
 		${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
 		${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
 		${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
 		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
@@ -151,6 +150,10 @@
 .if ${PERL_LEVEL} == 500601
 BUILD_DEPENDS+=	${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
 		${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv
+.endif
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
 .endif
 
 .include <bsd.port.post.mk>
--- patch ends here ---


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



More information about the freebsd-ports-bugs mailing list