Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 20:48:11 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35570: aureal-kmod ports has invalid Makefile
Message-ID:  <200203060148.g261mB485629@fledge.watson.org>

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

>Number:         35570
>Category:       ports
>Synopsis:       aureal-kmod ports has invalid 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:   Tue Mar 05 17:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NAI Labs, FreeBSD Project
>Environment:
System: FreeBSD curry.decoverly.watson.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Jan 14 18:56:00 EST 2002     rwatson@curry.decoverly.watson.org:/usr/obj/usr/src/sys/BKTR  i386

>Description:

Attempt to 'make clean' the ports tree fails due to a syntax error in the
'audio/aureal-kmod' port.

curry# make clean
"Makefile", line 73: warning: String comparison operator should be either == or !=
"Makefile", line 73: Malformed conditional (${VERSION_SOUND_C_CURRENT} < 52)
"Makefile", line 73: Need an operator
"Makefile", line 76: if-less endif
"Makefile", line 76: Need an operator
make: fatal errors encountered -- cannot continue

Undefined variables apparently can't be used in numeric conditional tests
in BSD make.  This seems to be the faulty bit:

.if ${OSVERSION} > 500000
# FreeBSD 5-CURRENT
.if ${VERSION_SOUND_C_CURRENT} < 52
BROKEN=         "Base system is outdated. This port needs -CURRENT after 6/17/2001."
.endif
.endif

>How-To-Repeat:
>Fix:
>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?200203060148.g261mB485629>