ports/devel/py-game/files/patch-config_unix.py
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

12 lines
483 B
Python

--- config_unix.py.orig Wed Aug 10 04:45:11 2005
+++ config_unix.py Wed Sep 14 09:12:44 2005
@@ -52,6 +52,9 @@
self.cflags += f + ' '
elif f[:3] == '-Wl':
self.cflags += '-Xlinker ' + f + ' '
+ if self.name == 'SDL':
+ inc = '-I' + os.environ.get ('X11BASE', '') + '/include'
+ self.cflags = inc + ' ' + self.cflags
except:
print 'WARNING: "%s" failed!' % command
self.found = 0