ports/70337: [MAINTAINER] devel/File-Temp: fix dependencies in perl5.8
Cheng-Lung Sung
clsung at tw.freebsd.org
Thu Aug 12 01:50:20 UTC 2004
>Number: 70337
>Category: ports
>Synopsis: [MAINTAINER] devel/File-Temp: fix dependencies in perl5.8
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 12 01:50:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004
>Description:
Since lots of p5- ports depend on p5-File-Temp, and perl5.8 core modules
has include it. Just add IGNORE will cause damages, now I'd like to
use *symbolic link* to solve it. The reason is not only when this port
update to 0.15 or newer we can still upgrade it, but every ports depend
on it can pass silently........
Hope some committers can help me with this. Thanks
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-File-Temp-0.14_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-File-Temp/Makefile /home/clsung/p5-File-Temp/Makefile
--- /usr/ports/devel/p5-File-Temp/Makefile Wed Aug 11 05:32:02 2004
+++ /home/clsung/p5-File-Temp/Makefile Thu Aug 12 09:38:33 2004
@@ -7,7 +7,7 @@
PORTNAME= File-Temp
PORTVERSION= 0.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
@@ -22,8 +22,6 @@
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLDIRS=site
-MAN3= File::Temp.3
-
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
@@ -31,7 +29,13 @@
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."
+do-install:
+ ${MKDIR} ${SITE_PERL}/File
+ ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/File/Temp
+ ${LN} -sf ${LOCALBASE}/lib/perl5/File/Temp.pm ${SITE_PERL}/File/Temp.pm
+ ${TOUCH} ${SITE_PERL}/${PERL_ARCH}/auto/File/Temp/.packlist
+.else
+MAN3= File::Temp.3
.endif
.include <bsd.port.post.mk>
--- p5-File-Temp-0.14_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list