summaryrefslogtreecommitdiff
path: root/math/eukleides
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:51:41 +0000
committerjperkin <jperkin>2015-11-25 12:51:41 +0000
commit048e1ad392a82ffd868a329f434d3f5fc1d54970 (patch)
treeab5e3d125f6da389efc69c27693379abbd3734c0 /math/eukleides
parentb22ecd7ae0d86472cc9fccb266637cf06e7f7563 (diff)
downloadpkgsrc-048e1ad392a82ffd868a329f434d3f5fc1d54970.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/Makefile7
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} \