summaryrefslogtreecommitdiff
path: root/cross/freemint-pml
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:49:12 +0000
committerjperkin <jperkin>2015-11-25 12:49:12 +0000
commitbc6061e2fa05d72f14b6be5e9bb5466a17d69c3a (patch)
tree8df61be45ed48506ca7876eaae01b7763cb46807 /cross/freemint-pml
parentbb97f82db9f8c612072d0e0714a652b085d4e1d7 (diff)
downloadpkgsrc-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-pml')
-rw-r--r--cross/freemint-pml/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/cross/freemint-pml/Makefile b/cross/freemint-pml/Makefile
index ffe6c19ea99..0303d735a1e 100644
--- a/cross/freemint-pml/Makefile
+++ b/cross/freemint-pml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/09/12 14:03:58 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2015/11/25 12:49:12 jperkin Exp $
DISTNAME= pml-2.03
PKGNAME= cross-freemint-${DISTNAME}
@@ -38,9 +38,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
CROSSDIR= ${DESTDIR}${FREEMINT_PREFIX}/m68k-atari-mint
@@ -54,7 +51,7 @@ CONFIGURE_ARGS+= --disable-multilib
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