freebsd-nq/usr.sbin/pkg_install/add
Oliver Eikemeier b9ba84598d - pkg_add spawns itself as argv[0] when installing dependent packages, to
enable the use as a port on older systems

- use absolute paths in all calls to external programs, to account for strange
  PATH settings

- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on
  FreeBSD 4.x as a port.

- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the
  pkg_install tools can be kept in sync on 4.x and 5.x

- Bump PKG_INSTALL_VERSION

Reviewed by:	portmgr (bento run)
MFC after:	4 weeks
2004-06-29 19:06:42 +00:00
..
add.h - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
extract.c - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
futil.c - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
main.c - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
Makefile - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
perform.c - pkg_add spawns itself as argv[0] when installing dependent packages, to 2004-06-29 19:06:42 +00:00
pkg_add.1 Markup and punctuation nits. 2004-06-05 20:21:17 +00:00