ports/graphics/py-soya3d/files/patch-setup.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

29 lines
1,000 B
Python

--- setup.py Mon Aug 21 00:22:53 2006
+++ setup.py Mon Aug 21 00:24:52 2006
@@ -99,6 +100,7 @@
if USE_OPENAL:
print "Sound support (with OpenAL) enabled..."
LIBS.append("openal")
+ LIBS.append("alut")
CONFIG_PXD_FILE.write("""include "sound/al.pxd"\n""")
CONFIG_PYX_FILE.write("""include "sound/sound.pyx"\n""")
else:
@@ -133,14 +135,14 @@
print "ODE and OPCODE have already been compiled; if you want to recompile them do: cd %s ; make clean" % ODE_DIR
else:
print "Building ODE and OPCODE from %s" % ODE_DIR
- do("cd %s ; make clean" % ODE_DIR)
- do("cd %s ; make configure" % ODE_DIR)
- do("cd %s ; make" % ODE_DIR)
+ do("cd %s ; gmake clean" % ODE_DIR)
+ do("cd %s ; gmake configure" % ODE_DIR)
+ do("cd %s ; gmake" % ODE_DIR)
print "ODE and OPCODE built successfully !"
elif SDISTING:
# Clean ODE, to remove configuration files and binaries
- do("cd %s ; make clean" % ODE_DIR)
+ do("cd %s ; gmake clean" % ODE_DIR)
if HAVE_PYREX: