Date: Sun, 21 Jul 2002 11:11:02 -0500 (CDT) From: "Matthew D.Fuller" <fullermd@over-yonder.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40844: Syntax error on german/BBBike/Makefile Message-ID: <20020721161102.233A01F02@mortis.over-yonder.net>
next in thread | raw e-mail | index | archive | help
>Number: 40844 >Category: ports >Synopsis: Syntax error on german/BBBike/Makefile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 21 09:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD mortis.sighup.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jun 14 08:09:49 CDT 2002 fullermd@mortis.sighup.org:/usr/obj/usr/src/sys/MORTIS i386 >Description: german/BBBike/Makefile has a syntax error which causes it to bomb out (which, among other things, breaks my 'make readmes'). % make fetch "/usr/ports/german/BBBike/Makefile", line 24: warning: String comparison operator should be either == or != "/usr/ports/german/BBBike/Makefile", line 24: Malformed conditional (!defined(PERL_VERSION) || ${PERL_VERSION} <= 5.00503) "/usr/ports/german/BBBike/Makefile", line 26: if-less endif "/usr/ports/german/BBBike/Makefile", line 26: Need an operator make: fatal errors encountered -- cannot continue >How-To-Repeat: cd /usr/ports/german/BBBike && make fetch >Fix: I'm not sure if this is exactly right, but it seems to handle things right for me (of course, I don't have an old version of Perl to test against). Index: BBBike/Makefile =================================================================== RCS file: /usr/cvs/ports/german/BBBike/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- BBBike/Makefile 15 Jul 2002 10:55:17 -0000 1.11 +++ BBBike/Makefile 21 Jul 2002 16:06:42 -0000 @@ -21,7 +21,7 @@ MYDESTDIR= ${PREFIX}/BBBike -.if !defined(PERL_VERSION) || ${PERL_VERSION} <= 5.00503 +.if !defined(PERL_VERSION) || ${PERL_VERSION} == "5.005*" 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?20020721161102.233A01F02>