Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 16:51:20 -0500 (EST)
From:      Vivek Khera <khera@kciLink.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33519: make index fails if PERL_VERSION is 5.6.1
Message-ID:  <200201032151.g03LpKY89728@onceler.kciLink.com>

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

>Number:         33519
>Category:       ports
>Synopsis:       make index fails if PERL_VERSION is 5.6.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 03 14:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Vivek Khera
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD onceler.kciLink.com 4.4-STABLE FreeBSD 4.4-STABLE #4: Tue Dec 11 10:12:07 EST 2001 khera@onceler.kciLink.com:/amd/yertle/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/ONCELER i386


	
ports updated today via cvsup

>Description:
	

make index fails if PERL_VERSION is not a traditional numeric value, eg, when
you have perl 5.6.1 installed from the ports tree (or you're running 5.6.0 in
FreeBSD 5.x)

The failure is actually in german/BBBike/Makefile where PERL_VERSION is tested
numerically, but 5.6.1 is not "numeric" so make complains and exits.

>How-To-Repeat:
	

set PERL_VERSION=5.6.1 in /etc/make.conf (or use a FreeBSD 5.x system)
cd /usr/ports
make index

>Fix:

	
This patch should do it, since we no longer need to support FreeBSD 3.x.



--- german/BBBike/#Makefile~	Thu Jan  3 16:29:29 2002
+++ german/BBBike/Makefile	Thu Jan  3 16:29:29 2002
@@ -21,7 +21,7 @@
 
 MYDESTDIR=	${PREFIX}/BBBike
 
-.if !defined(PERL_VERSION) || ${PERL_VERSION} <= 5.00503
+.if !defined(PERL_VERSION) || ${PERL_VERSION} == 5.00503
 PLIST=		${PKGDIR}/pkg-plist.5005
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201032151.g03LpKY89728>