summaryrefslogtreecommitdiff
path: root/graphics/blender
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:50:43 +0000
committerjperkin <jperkin>2015-11-25 12:50:43 +0000
commitc84181c0edfca8d9dadf2bc9be7e42961727cb83 (patch)
tree86eb059496354ccd274b3fd95c2821669fe397fd /graphics/blender
parentd1452fc9837378b35db35a2e0a452f48874ab50e (diff)
downloadpkgsrc-c84181c0edfca8d9dadf2bc9be7e42961727cb83.tar.gz
Remove mk/find-prefix.mk usage from the graphics category.
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'graphics/blender')
-rw-r--r--graphics/blender/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 58eac8ca91b..3c6437230f7 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2015/04/25 14:23:07 tnn Exp $
+# $NetBSD: Makefile,v 1.114 2015/11/25 12:50:43 jperkin Exp $
DISTNAME= blender-2.71
PKGREVISION= 6
@@ -19,9 +19,6 @@ PYTHON_VERSIONS_ACCEPTED= 34 33
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
-FIND_PREFIX:= SCONSDIR=scons
-.include "../../mk/find-prefix.mk"
-
.include "options.mk"
INSTALLATION_DIRS= bin share/blender
@@ -74,7 +71,7 @@ do-build:
# build is done in install phase.
do-install:
cd ${WRKSRC:Q} && ${PKGSRC_SETENV} ${MAKE_ENV} \
- ${SCONSDIR}/bin/scons ${SCONS_ARGS} ${_MAKE_JOBS}
+ ${LOCALBASE}/bin/scons ${SCONS_ARGS} ${_MAKE_JOBS}
CHECK_INTERPRETER_SKIP= share/blender/${DISTNAME:S/blender-//:C/[a-z]//}/scripts/*.py share/blender/${DISTNAME:S/blender-//:C/[a-z]//}datafiles/*.py \
share/blender/${DISTNAME:S/blender-//:C/[a-z]//}/python/lib/python3.3/venv/scripts/posix/pydoc