summaryrefslogtreecommitdiff
path: root/cross/COMMON
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-05-26 02:13:14 +0000
committerjoerg <joerg@pkgsrc.org>2008-05-26 02:13:14 +0000
commit3d8ef5a52d6570c7a88c64337bb6c476b78c810c (patch)
treeb711f279533efa082bd9211a7161438542a8810d /cross/COMMON
parent7f7f5ce9170554e6c0c04606c5c2c0548ffab031 (diff)
downloadpkgsrc-3d8ef5a52d6570c7a88c64337bb6c476b78c810c.tar.gz
Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
Diffstat (limited to 'cross/COMMON')
-rw-r--r--cross/COMMON/cross.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/cross/COMMON/cross.mk b/cross/COMMON/cross.mk
index 8f3f66f0899..c29324f0018 100644
--- a/cross/COMMON/cross.mk
+++ b/cross/COMMON/cross.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cross.mk,v 1.38 2006/07/27 18:48:02 jlam Exp $
+# $NetBSD: cross.mk,v 1.39 2008/05/26 02:13:16 joerg Exp $
# Shared definitions for building a cross-compile environment.
@@ -157,7 +157,7 @@ PLIST_PRE+= ${COMMON_DIR}/PLIST-egcs
CROSS_DISTFILES+= ${EGCS_DISTNAME}.tar.gz ${EGCS_PATCHBUNDLE}
SITES.${EGCS_DISTNAME}.tar.gz= # no known-good site; fall back to distfiles mirrors
SITES.${EGCS_PATCHBUNDLE}= ${MASTER_SITE_LOCAL}
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pax
CC_FOR_TARGET= ${EGCS_WRKSRC}/gcc/xgcc -B${EGCS_WRKSRC}/gcc/ ${CFLAGS_FOR_TARGET}
CXX_FOR_TARGET= ${CC_FOR_TARGET}
@@ -273,13 +273,13 @@ EXTRACT_ONLY= ${DISTFILES:N*.diff.gz}
.if defined(CROSS_SYS_INCLUDE) && !defined(EGCS_FAKE_RUNTIME)
pre-install: pre-install-includes
pre-install-includes:
- cd ${CROSS_SYS_INCLUDE} && ${PAX} -rw . ${TARGET_DIR}/include
+ cd ${CROSS_SYS_INCLUDE} && pax -rw . ${TARGET_DIR}/include
.endif
.if defined(SYS_LIB)
pre-install: pre-install-lib
pre-install-lib:
- cd ${SYS_LIB} && ${PAX} -rw . ${TARGET_DIR}/lib
+ cd ${SYS_LIB} && pax -rw . ${TARGET_DIR}/lib
.endif
post-install: post-install-plist