96dbe33c37
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.
13 lines
356 B
Bash
13 lines
356 B
Bash
#!@SH@
|
|
# Copyright (c) 1998-2001 Software in the Public Interest
|
|
# <http://www.debian.org/>
|
|
# Written by Philip Hands. Distributed under the GNU GPL.
|
|
# Modified slightly by Dave Sill.
|
|
|
|
@PREFIX@/bin/preline @PREFIX@/bin/procmail && exit 0
|
|
|
|
# check if procmail returned EX_TEMPFAIL (75)
|
|
[ $? = 75 ] && exit 111
|
|
|
|
# otherwise return a permanent error
|
|
exit 100
|