summaryrefslogtreecommitdiff
path: root/emulators/compat_netbsd
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 /emulators/compat_netbsd
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 'emulators/compat_netbsd')
-rw-r--r--emulators/compat_netbsd/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common
index 68585874d72..1427e0363d2 100644
--- a/emulators/compat_netbsd/Makefile.common
+++ b/emulators/compat_netbsd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2008/03/03 19:21:37 jlam Exp $
+# $NetBSD: Makefile.common,v 1.11 2008/05/26 02:13:18 joerg Exp $
#
# Common infrastructure for NetBSD compat* packages.
#
@@ -16,6 +16,8 @@ PKG_DESTDIR_SUPPORT= destdir
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+USE_TOOLS+= pax
+
NETBSD_PKG= yes
EMUL_REQD= netbsd>=${NETBSD_VERSION}
@@ -132,7 +134,7 @@ compat-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${EMULSUBDIR}
cd ${WRKSRC} && for dir in lib libexec usr; do \
if ${TEST} -d "$$dir"; then \
- ${PAX} -rw "$$dir" \
+ pax -rw "$$dir" \
${DESTDIR}${PREFIX}/${EMULSUBDIR}; \
fi; \
done