diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:30 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:30 +0000 |
commit | 81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212 (patch) | |
tree | 123158c39b7754781e0bfbdd0d16765566952fef /games | |
parent | 6be848837f68fae5c20f48a038e43d791872e856 (diff) | |
download | pkgsrc-81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212.tar.gz |
Remove mk/find-prefix.mk usage from the games 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 'games')
-rw-r--r-- | games/ccgo/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/games/ccgo/Makefile b/games/ccgo/Makefile index dde31a3781e..164666def1a 100644 --- a/games/ccgo/Makefile +++ b/games/ccgo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2015/04/25 14:22:53 tnn Exp $ +# $NetBSD: Makefile,v 1.55 2015/11/25 12:50:30 jperkin Exp $ DISTNAME= ccgo-0.3.6.3 PKGREVISION= 23 @@ -20,10 +20,7 @@ SUBST_CLASSES+= ccgo SUBST_STAGE.ccgo= pre-configure SUBST_FILES.ccgo= game_setup.cc settings.cc SUBST_MESSAGE.ccgo= Fixing paths to gnugo. -SUBST_SED.ccgo= -e 's|/usr/games/gnugo|${PREFIX.gnugo}/bin/gnugo|g' - -EVAL_PREFIX+= PREFIX.gnugo -PREFIX.gnugo_DEFAULT= ${LOCALBASE} +SUBST_SED.ccgo= -e 's|/usr/games/gnugo|${LOCALBASE}/bin/gnugo|g' .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gconfmm/buildlink3.mk" |