NetBSD/usr.sbin/pkg_install/add/Makefile
grant 99871d087e use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
the former represents the CPU architecture, which is what is recorded
in binary packages.

also allow the OS name to be overridden, as pkgsrc doesn't always use
the value of utsname.sysname.

bump version to 20030113.
2004-01-13 08:30:34 +00:00

10 lines
230 B
Makefile

# $NetBSD: Makefile,v 1.6 2004/01/13 08:30:34 grant Exp $
# Original from FreeBSD, no rcs id.
PROG= pkg_add
SRCS= main.c perform.c futil.c extract.c verify.c
CPPFLAGS+= -DMACHINE_ARCH=\"${MACHINE_ARCH}\"
.include <bsd.prog.mk>