diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:51:41 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:51:41 +0000 |
commit | aa94606bd1406f193593993d2a73fe542b67ff0d (patch) | |
tree | ab5e3d125f6da389efc69c27693379abbd3734c0 /math/eukleides | |
parent | c34a5ac0854578e72c415b0b65b57277dd6cd2ec (diff) | |
download | pkgsrc-aa94606bd1406f193593993d2a73fe542b67ff0d.tar.gz |
Remove mk/find-prefix.mk usage from the math 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 'math/eukleides')
-rw-r--r-- | math/eukleides/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile index 4607e63f39a..18c450926ad 100644 --- a/math/eukleides/Makefile +++ b/math/eukleides/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2015/08/18 07:31:12 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2015/11/25 12:51:41 jperkin Exp $ DISTNAME= eukleides-1.5.4 PKGREVISION= 3 @@ -20,14 +20,11 @@ REPLACE_BASH= bash/* BUILDLINK_TRANSFORM+= l:ncurses:curses -FIND_PREFIX:= GETOPTDIR=getopt -.include "../../mk/find-prefix.mk" - SUBST_CLASSES+= getopt SUBST_STAGE.getopt= pre-configure SUBST_MESSAGE.getopt= Replacing getopt. SUBST_FILES.getopt= bash/euktoeps -SUBST_SED.getopt+= -e 's,@GETOPT@,${GETOPTDIR}/bin/getopt,' +SUBST_SED.getopt+= -e 's,@GETOPT@,${LOCALBASE}/bin/getopt,' INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} \ PREFIX=${DESTDIR}${PREFIX} \ |