summaryrefslogtreecommitdiff
path: root/emulators
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
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')
-rw-r--r--emulators/compat_netbsd/Makefile.common6
-rw-r--r--emulators/gxemul/Makefile6
2 files changed, 8 insertions, 4 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
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index 91a228bebc2..7ab57e900d9 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2008/05/25 21:23:26 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2008/05/26 02:13:18 joerg Exp $
#
DISTNAME= gxemul-0.4.6.1
@@ -12,6 +12,8 @@ COMMENT= Machine emulator
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= pax
+
USE_LANGUAGES= c
HAS_CONFIGURE= yes
BUILD_TARGET= build
@@ -24,7 +26,7 @@ do-install:
.for f in README HISTORY TODO RELEASE.html LICENSE
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.endfor
- cd ${WRKSRC}/doc && ${PAX} -rwppm . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ cd ${WRKSRC}/doc && pax -rwppm . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
PKG_SUPPORTED_OPTIONS= x11