diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
commit | 9f026fc529baa5b8b73fd2c6a8f42ba48af73ded (patch) | |
tree | 86eb059496354ccd274b3fd95c2821669fe397fd /graphics/mypaint | |
parent | 81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212 (diff) | |
download | pkgsrc-9f026fc529baa5b8b73fd2c6a8f42ba48af73ded.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/mypaint')
-rw-r--r-- | graphics/mypaint/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile index f2c2b90f313..49a84fe977f 100644 --- a/graphics/mypaint/Makefile +++ b/graphics/mypaint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2015/04/25 14:23:17 tnn Exp $ +# $NetBSD: Makefile,v 1.21 2015/11/25 12:50:44 jperkin Exp $ DISTNAME= mypaint-1.1.0 PKGREVISION= 1 @@ -21,9 +21,6 @@ USE_TOOLS+= bash:run msgfmt pkg-config PYTHON_VERSIONED_DEPENDENCIES= cairo PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2 -FIND_PREFIX:= SCONSDIR=scons -.include "../../mk/find-prefix.mk" - USE_PKGLOCALEDIR= yes SUBST_CLASSES+= python @@ -38,12 +35,12 @@ REPLACE_BASH= brushes/label-brush-mypaint.sh do-build: cd ${WRKSRC} && cd ${BUILD_DIRS} && \ ${SETENV} ${MAKE_ENV} \ - ${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX} + ${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX} do-install: cd ${WRKSRC} && cd ${INSTALL_DIRS} && \ ${SETENV} ${MAKE_ENV} \ - ${SCONSDIR}/bin/scons prefix=${DESTDIR}${PREFIX} install + ${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX} install .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" |