[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/47377: Ports always depend on Perl5.6.1 even when PERL_VERSION in /etc/make.conf set to 5.8.0 in -CURRENT
>Number: 47377
>Category: ports
>Synopsis: Ports always depend on Perl5.6.1 even when PERL_VERSION in /etc/make.conf set to 5.8.0 in -CURRENT
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 22 14:30:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergey Matveychuk
>Release: FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sem-home.ciam.ru 5.0-RELEASE FreeBSD 5.0-RELEASE #2: Mon Jan 20 12:56:36 MSK 2003 root@xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/SEM-HOME i386
>Description:
I guess Perl 5.8.0 is better than 5.6.1. And I use 5.8.0. But when I'v
installed any port that depends on perl5 I'v got it marked as depends
on perl 5.6.1. I don't like it.
Here is a small patch I use to fix this situation.
>How-To-Repeat:
>Fix:
--- bsd.port.mk Thu Jan 23 01:05:30 2003
+++ bsd.port.mk Thu Jan 23 01:03:07 2003
@@ -1209,10 +1209,18 @@
PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION}
PERL= ${LOCALBASE}/bin/perl
.if defined(USE_PERL5) || defined(USE_PERL5_BUILD)
+.if ${perl_minor} == 8
+BUILD_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5.8
+.else
BUILD_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5
.endif
+.endif
.if defined(USE_PERL5) || defined(USE_PERL5_RUN)
+.if ${perl_minor} == 8
+RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5.8
+.else
RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/perl5
+.endif
.endif
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-ports-bugs" in the body of the message