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/gcc47-libs/Makefile | |
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/gcc47-libs/Makefile')
-rw-r--r-- | lang/gcc47-libs/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/gcc47-libs/Makefile b/lang/gcc47-libs/Makefile index b942e71d35f..3281ef904c6 100644 --- a/lang/gcc47-libs/Makefile +++ b/lang/gcc47-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2015/06/22 15:38:08 jperkin Exp $ +# $NetBSD: Makefile,v 1.22 2015/11/25 12:51:16 jperkin Exp $ GCC_PKGNAME= gcc47 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -28,11 +28,8 @@ BUILD_DEPENDS+= ${GCC_PKGNAME}-${GCC47_DIST_VERSION}{,nb[0-9]*}:../../lang/gcc4 .include "../../mk/bsd.prefs.mk" -FIND_PREFIX:= GCC_PKG_PREFIX=${GCC_PKGNAME}-${GCC47_DIST_VERSION}* -.include "../../mk/find-prefix.mk" - LIBGCC_SUBPREFIX= ${GCC_PKGNAME} -LIBGCC_PREFIX= ${GCC_PKG_PREFIX}/${LIBGCC_SUBPREFIX} +LIBGCC_PREFIX= ${LOCALBASE}/${LIBGCC_SUBPREFIX} GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM} BUILD_DEFS+= GCC_TARGET_MACHINE |