diff options
author | jperkin <jperkin> | 2015-11-25 12:49:12 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:49:12 +0000 |
commit | bc6061e2fa05d72f14b6be5e9bb5466a17d69c3a (patch) | |
tree | 8df61be45ed48506ca7876eaae01b7763cb46807 /cross/freemint-mintlib/Makefile | |
parent | bb97f82db9f8c612072d0e0714a652b085d4e1d7 (diff) | |
download | pkgsrc-bc6061e2fa05d72f14b6be5e9bb5466a17d69c3a.tar.gz |
Remove mk/find-prefix.mk usage from the cross 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 'cross/freemint-mintlib/Makefile')
-rw-r--r-- | cross/freemint-mintlib/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cross/freemint-mintlib/Makefile b/cross/freemint-mintlib/Makefile index c719bd9cf93..622d8b6ef66 100644 --- a/cross/freemint-mintlib/Makefile +++ b/cross/freemint-mintlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2015/01/16 23:53:04 wiedi Exp $ +# $NetBSD: Makefile,v 1.5 2015/11/25 12:49:12 jperkin Exp $ DISTNAME= mintlib-CVS-20131219 PKGNAME= cross-freemint-${DISTNAME:S/CVS-//} @@ -33,9 +33,6 @@ GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${FREEMINT_PREFIX} -FIND_PREFIX:= AR_DIR=cross-freemint-binutils -.include "../../mk/find-prefix.mk" - CFLAGS+= -fomit-frame-pointer CONFIGURE_ARGS+= --target=m68k-atari-mint @@ -47,7 +44,7 @@ CONFIGURE_ARGS+= --disable-nls MAKE_ENV+= SHELL=${TOOLS_PATH.bash} MAKE_ENV+= FREEMINT_PREFIX=${FREEMINT_PREFIX} MAKE_ENV+= WRKSRC=${WRKSRC} -MAKE_ENV+= ARDIR=${AR_DIR}/cross-freemint/bin +MAKE_ENV+= ARDIR=${FREEMINT_PREFIX}/bin MAKE_ENV+= DESTDIR=${DESTDIR} MAKE_ENV+= CONFIGURE_DIRS=${CONFIGURE_DIRS} INFO_FILES= yes |