summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:41 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:41 +0000
commitf31db4a625bf8a261f8b13e0d97caf0c58fa4f3e (patch)
treeab5e3d125f6da389efc69c27693379abbd3734c0 /math/scilab
parent066771d488c4780599b20d1ff025e031abb3f9c5 (diff)
downloadpkgsrc-f31db4a625bf8a261f8b13e0d97caf0c58fa4f3e.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/scilab')
-rw-r--r--math/scilab/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index d3096c4fb40..de51feb001f 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2015/10/14 20:17:27 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2015/11/25 12:51:42 jperkin Exp $
#
DISTNAME= ${SCIBASE}-src
@@ -28,12 +28,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-local-xaw
CONFIGURE_ARGS+= --without-java
-EVAL_PREFIX+= TCL_PREFIX=tcl
-EVAL_PREFIX+= TK_PREFIX=tk
-CONFIGURE_ARGS+= --with-tcl-library=${TCL_PREFIX}/lib
-CONFIGURE_ARGS+= --with-tcl-include=${TCL_PREFIX}/include
-CONFIGURE_ARGS+= --with-tk-library=${TK_PREFIX}/lib
-CONFIGURE_ARGS+= --with-tk-include=${TK_PREFIX}/include
+CONFIGURE_ARGS+= --with-tcl-library=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+= --with-tcl-include=${BUILDLINK_PREFIX.tcl}/include
+CONFIGURE_ARGS+= --with-tk-library=${BUILDLINK_PREFIX.tk}/lib
+CONFIGURE_ARGS+= --with-tk-include=${BUILDLINK_PREFIX.tk}/include
CONFIGURE_ENV+= TCL_CONFIG_SH=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
CONFIGURE_ENV+= TK_CONFIG_SH=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
CONFIGURE_ENV+= CC_LDFLAGS=${X11_LDFLAGS:Q}\ ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.tk:Q}/lib