Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 01:21:12 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47377: Ports always depend on Perl5.6.1 even when PERL_VERSION in /etc/make.conf set to 5.8.0 in -CURRENT
Message-ID:  <E18bTFA-000HsJ-00@sem-home.ciam.ru>

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

>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@sem-home.ciam.ru:/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@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18bTFA-000HsJ-00>