Bug 118177 - games/prboom with GL=on fails at configure
Summary: games/prboom with GL=on fails at configure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 11:10 UTC by Andriy Gapon
Modified: 2007-12-14 22:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Gapon 2007-11-21 11:10:02 UTC
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

Fix: 

Change '+=' to '=' in CFLAGS env. var. assignment in CONFIGURE_ENV make
variable in Makefile of the port.
How-To-Repeat: 1. cd /usr/ports/games/prboom
2. make config
3. turn on GL option
4. make
5. build fails
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-21 11:10:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-12-14 22:26:45 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-12-14 22:43:23 UTC
pav         2007-12-14 22:43:17 UTC

  FreeBSD ports repository

  Modified files:
    games/prboom         Makefile 
  Log:
  - Fix CONFIGURE_ENV (fixes build with OpenGL enabled)
  
  PR:             ports/118177
  Submitted by:   Andriy Gapon <avg@icyb.net.ua>
  Approved by:    maintainer timeout (3 weeks)
  
  Revision  Changes    Path
  1.17      +1 -1      ports/games/prboom/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"