diff options
author | jperkin <jperkin> | 2015-11-25 12:51:16 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:51:16 +0000 |
commit | e0b7adbf29f7ce4aba9b0773d2fe068d3cf0e425 (patch) | |
tree | e339f459af067df609a92f5f7abb15e63c95cd6e /lang/scm | |
parent | 67c44ef1ba0cad5bee926f2ef5259f0a5e4c83fb (diff) | |
download | pkgsrc-e0b7adbf29f7ce4aba9b0773d2fe068d3cf0e425.tar.gz |
Remove mk/find-prefix.mk usage from the lang 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 'lang/scm')
-rw-r--r-- | lang/scm/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/scm/Makefile b/lang/scm/Makefile index f4f763a24cf..220a1b8c57a 100644 --- a/lang/scm/Makefile +++ b/lang/scm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2014/02/08 23:39:55 wiedi Exp $ +# $NetBSD: Makefile,v 1.26 2015/11/25 12:51:17 jperkin Exp $ # # Convert the version number as follows 2d2 -> 2.4.2, where the d is # changed to a 4, representing the 4th letter. @@ -20,7 +20,6 @@ COMMENT= Portable scheme interpreter DEPENDS+= slib>=3.1.1:../../devel/slib WRKSRC= ${WRKDIR}/scm -EVAL_PREFIX+= SLIB_PREFIX=slib INFO_FILES= yes LDFLAGS.SunOS+= -lsocket -lnsl @@ -46,7 +45,7 @@ INSTALLATION_DIRS= ${PKGINFODIR} share/scm .include "../../mk/readline.buildlink3.mk" post-extract: - ${SED} -e "s|@SLIB_PREFIX@|"${SLIB_PREFIX:Q}"|g" \ + ${SED} -e "s|@SLIB_PREFIX@|"${LOCALBASE}"|g" \ ${FILESDIR}/require.scm > ${WRKSRC}/require.scm ${SED} -e "s|@PREFIX@|"${PREFIX:Q}"|g" \ -e "s|@COMPILED_INITS@|${COMPILED_INITS:=();}|g" \ |