summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2003-09-23 07:44:48 +0000
committergrant <grant>2003-09-23 07:44:48 +0000
commit3c5ae417cd5b3c8d3ebeee403579816cd870e001 (patch)
tree6a09df43bf88169cc013ff3d133b787e308e9b83 /pkgtools/pkg_install/Makefile
parent5ed69d99f9152ee808fe490342584dc94a130ef4 (diff)
downloadpkgsrc-3c5ae417cd5b3c8d3ebeee403579816cd870e001.tar.gz
add --with-{ftp,mtree,pax,tar} to allow overriding the commands that
pkg_install calls, and pass the full path for each from the pkg Makefile. fixes issue with pkg_add and pkg_create calling non-existent or less-than-functional tools since it relied on $PATH.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index f7329d69f92..0f9c93f72c6 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2003/09/18 23:43:37 grant Exp $
+# $NetBSD: Makefile,v 1.87 2003/09/23 07:44:48 grant Exp $
# Notes to package maintainers:
#
@@ -19,6 +19,10 @@ COMMENT= Package installation and administration tools
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-pkgdbdir=${PKG_DBDIR}
+CONFIGURE_ARGS+= --with-ftp=${FETCH_CMD}
+CONFIGURE_ARGS+= --with-mtree=${MTREE}
+CONFIGURE_ARGS+= --with-pax=${PAX}
+CONFIGURE_ARGS+= --with-tar=${TAR}
NO_PKGTOOLS_REQD_CHECK= # defined
NO_BUILDLINK= # defined