diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-11-07 16:12:30 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-11-07 16:12:30 +0000 |
commit | f811ef3fed1b7df2bc1bde6600f22f7ec1e6e48f (patch) | |
tree | 2f70384e2f76a600d1a5674904b4ab1343427390 /graphics/py-soya3d | |
parent | 8f54c06a08c03e6132a493aa9f610a03d3edad67 (diff) | |
download | ports-f811ef3fed1b7df2bc1bde6600f22f7ec1e6e48f.tar.gz ports-f811ef3fed1b7df2bc1bde6600f22f7ec1e6e48f.zip |
Notes
Diffstat (limited to 'graphics/py-soya3d')
-rw-r--r-- | graphics/py-soya3d/Makefile | 6 | ||||
-rw-r--r-- | graphics/py-soya3d/files/patch-setup.py | 27 |
2 files changed, 26 insertions, 7 deletions
diff --git a/graphics/py-soya3d/Makefile b/graphics/py-soya3d/Makefile index 5336dba344aa..27d0681b1f53 100644 --- a/graphics/py-soya3d/Makefile +++ b/graphics/py-soya3d/Makefile @@ -7,6 +7,7 @@ PORTNAME= soya3d PORTVERSION= 0.13.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,8 +20,7 @@ COMMENT= Very high level 3D engine for Python BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode \ ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \ - ${PYTHON_SITELIBDIR}/pysdl_mixer/sdl_mixer.so:${PORTSDIR}/audio/py-sdl_mixer \ - pyrexc:${PORTSDIR}/devel/pyrex + ${PYTHON_SITELIBDIR}/pysdl_mixer/sdl_mixer.so:${PORTSDIR}/audio/py-sdl_mixer LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \ GLEW.1:${PORTSDIR}/graphics/glew \ openal.0:${PORTSDIR}/audio/openal \ @@ -50,8 +50,6 @@ DISTFILES+= SoyaTutorial-${SOYATUTVER}${EXTRACT_SUFX} .include <bsd.port.pre.mk> -BROKEN= broken with current version of devel/pyrex - .if ${ARCH} == "amd64" CFLAGS += -fPIC .endif diff --git a/graphics/py-soya3d/files/patch-setup.py b/graphics/py-soya3d/files/patch-setup.py index 1f53e60a8f27..3f4842e8748b 100644 --- a/graphics/py-soya3d/files/patch-setup.py +++ b/graphics/py-soya3d/files/patch-setup.py @@ -1,6 +1,27 @@ ---- setup.py.orig Sun May 13 10:54:49 2007 -+++ setup.py Fri Aug 17 16:32:16 2007 -@@ -129,6 +129,7 @@ +--- setup.py.orig 2007-11-05 20:44:27.000000000 -0500 ++++ setup.py 2007-11-05 20:47:14.000000000 -0500 +@@ -22,6 +22,7 @@ + + # Modify the following if needed : + USE_OPENAL = 1 # use OpenAL ++HAVE_PYREX = 0 + #USE_OPENAL = 0 + + # Modify the following if needed : +@@ -76,12 +77,6 @@ + SDISTING = ("sdist" in sys.argv[1:]) and not ("--help" in sys.argv[1:]) + + +-try: +- from Pyrex.Distutils import build_ext +- HAVE_PYREX = 1 +-except: +- HAVE_PYREX = 0 +- + HERE = os.path.dirname(sys.argv[0]) + #ODE_DIR = os.path.join(HERE, "ode-0.5") + DEFINES = [] +@@ -129,6 +124,7 @@ DEFINES.append(('SOYA_MACOSX',1)) else: LIBS.append("openal") |