ports/113978: [MAINTAINER] games/widelands: fix build when devel/libevent installed

Bartosz Fabianowski freebsd at chillt.de
Sun Jun 24 00:00:07 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list