aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender-devel/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 12:41:00 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 12:41:00 +0000
commit62730905d05930c650b5241fdb4ae1eb8ab687c2 (patch)
treee72145c16968fe73d3eb8175f55252a8598f614d /graphics/blender-devel/Makefile
parent4347e6df3d4273fff8ff430da59d7371b2da933e (diff)
downloadports-62730905d05930c650b5241fdb4ae1eb8ab687c2.tar.gz
ports-62730905d05930c650b5241fdb4ae1eb8ab687c2.zip
Notes
Diffstat (limited to 'graphics/blender-devel/Makefile')
-rw-r--r--graphics/blender-devel/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/blender-devel/Makefile b/graphics/blender-devel/Makefile
index a99d3209ecaa..dd675393b265 100644
--- a/graphics/blender-devel/Makefile
+++ b/graphics/blender-devel/Makefile
@@ -13,8 +13,6 @@ PKGNAMESUFFIX= -devel
MAINTAINER= dyeske@yahoo.com
COMMENT= 3D modeling/rendering/animation/gaming package
-BROKEN= "Does not compile (different error on 4.x and 5.x)"
-
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
nspr4.1:${PORTSDIR}/devel/nspr \
openal.0:${PORTSDIR}/audio/openal \
@@ -25,6 +23,7 @@ USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_PYTHON= yes
+PYTHON_VERSION= python2.2
USE_MESA= yes
.if defined(WITH_OPTIMIZED_CFLAGS)
@@ -81,6 +80,10 @@ post-patch:
's|\$$(NAN_LIBDIR)/\$$(CONFIG_GUESS)|\$$(NAN_LIBDIR)|; \
s|\$$(NAN_OBJDIR)/\$$(CONFIG_GUESS)|\$$(NAN_OBJDIR)|' \
${WRKSRC}/source/nan_definitions.mk
+ @${REINPLACE_CMD} -e \
+ 's,/usr/local,${LOCALBASE},g; \
+ s,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/source/*.mk
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/obj/bin/blender ${PREFIX}/bin