freebsd-dev/usr.sbin/pkg_install/lib/Makefile
eik 88d3ce9f2f - 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

14 lines
207 B
Makefile

# $FreeBSD$
LIB= install
INTERNALLIB= YES
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c match.c \
deps.c version.c pkgwrap.c url.c
CFLAGS+= ${DEBUG}
WARNS?= 6
WFORMAT?= 1
.include <bsd.lib.mk>