diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:48:35 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:48:35 +0000 |
commit | b758acbe5907bf8b97af85cae9a1288b921c0202 (patch) | |
tree | ed4c2fb57fed65bb9086a42705fcd51b20de4dea /chat/centerim | |
parent | 67c154646bd883da4b7cf290977afc9203207fa5 (diff) | |
download | pkgsrc-b758acbe5907bf8b97af85cae9a1288b921c0202.tar.gz |
Remove mk/find-prefix.mk usage from the chat 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 'chat/centerim')
-rw-r--r-- | chat/centerim/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chat/centerim/Makefile b/chat/centerim/Makefile index 63edfac9295..9c58a0ea60a 100644 --- a/chat/centerim/Makefile +++ b/chat/centerim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2015/09/08 11:57:49 jperkin Exp $ +# $NetBSD: Makefile,v 1.31 2015/11/25 12:48:35 jperkin Exp $ # DISTNAME= centerim-4.22.10 @@ -34,8 +34,7 @@ INCOMPAT_CURSES+= NetBSD-[0-5].*-* # see PR 29060 CPPFLAGS+= -DAUDIO_PLAYER="\"/usr/bin/audioplay\"" .else DEPENDS+= sox>=12.17.4:../../audio/sox -EVAL_PREFIX+= SOX_PREFIX=sox -CPPFLAGS+= -DAUDIO_PLAYER="\"${SOX_PREFIX}/bin/play\"" +CPPFLAGS+= -DAUDIO_PLAYER="\"${LOCALBASE}/bin/play\"" .endif .if !empty(MACHINE_ARCH:Msparc64) |