Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2007 12:43:27 +0200 (EET)
From:      Andriy Gapon <avg@icyb.net.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118177: games/prboom with GL=on fails at configure
Message-ID:  <200711211043.lALAhRbQ067317@rein.cybervisiontech.com.ua>
Resent-Message-ID: <200711211110.lALBA3dx082903@freefall.freebsd.org>

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

>Number:         118177
>Category:       ports
>Synopsis:       games/prboom with GL=on fails at configure
>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 Nov 21 11:10:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 6.2-RELEASE-p6 amd64
>Organization:
>Environment:
System: 6.2-RELEASE-p6 amd64
prboom-2.4.7
>Description:
games/prboom (2.4.7) with GL=on fails at configure, because it can not
find GL headers under /usr/local (i.e. LOCALBASE).

I think this is because of the following:
CONFIGURE_ENV=  CFLAGS+="-I${LOCALBASE}/include" \
                    ^^^^^^
I think this line sets environment variables and there is no += syntax
for that. If I change '+=' to '=' the port builds fine.

Maintainer was notified about the issue about 1 week ago:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=306517+0+archive/2007/freebsd-ports/20071118.freebsd-ports

>How-To-Repeat:
1. cd /usr/ports/games/prboom
2. make config
3. turn on GL option
4. make
5. build fails
>Fix:
Change '+=' to '=' in CFLAGS env. var. assignment in CONFIGURE_ENV make
variable in Makefile of the port.

>Release-Note:
>Audit-Trail:
>Unformatted:



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