From b758acbe5907bf8b97af85cae9a1288b921c0202 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 25 Nov 2015 12:48:35 +0000 Subject: 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. --- chat/centerim/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chat') 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) -- cgit v1.2.3