Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2007 23:59:27 GMT
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113978: [MAINTAINER] games/widelands: fix build when devel/libevent installed
Message-ID:  <200706232359.l5NNxRIs019198@www.freebsd.org>
Resent-Message-ID: <200706240000.l5O006FE008966@freefall.freebsd.org>

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

>Number:         113978
>Category:       ports
>Synopsis:       [MAINTAINER] games/widelands: fix build when devel/libevent installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 00:00:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bartosz Fabianowski
>Release:        6-STABLE
>Organization:
>Environment:
>Description:
The attached patch addresses an issue first reported in ports/112369. This fix was included in a cumulative patch for ports/113243, but unfortunately got missed when that got committed.

Bug ports/112369 is therefore still not fixed and the attached patch is required to make games/widelands build when devel/libevent is installed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- files/patch-src_SConscript.orig	Sat Jun 23 21:44:01 2007
+++ files/patch-src_SConscript	Sat Jun 23 21:44:50 2007
@@ -5,7 +5,7 @@
  SRC=Glob('*.cc')
  
 -srcenv=env.Copy()
-+srcenv=env.Copy(LIBPATH=[])
++srcenv=env.Copy(CPPPATH=[], LIBPATH=[])
  
  srcenv.Append(CPPPATH=[
  		'#/src',
@@ -13,7 +13,7 @@
  srcenv.Append(LIBS='editor', LIBPATH='editor')
  srcenv.Append(LIBS='editoruimenus', LIBPATH='editor/ui_menus')
  srcenv.Append(LIBS='editortools', LIBPATH='editor/tools')
-+srcenv.Append(LIBPATH=env['LIBPATH'])
++srcenv.Append(CPPPATH=env['CPPPATH'], LIBPATH=env['LIBPATH'])
  
  SConscript('editor/SConscript')
  SConscript('ui/ui_basic/SConscript')


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



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