diff options
-rw-r--r-- | pkgtools/pkg_install/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 07499ca3477..941ea900cf8 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.90 2003/12/22 00:23:35 grant Exp $ +# $NetBSD: Makefile,v 1.91 2004/01/15 01:40:13 grant Exp $ # Notes to package maintainers: # @@ -45,6 +45,9 @@ CFLAGS+= -I${LIBNBCOMPAT_SRCDIR} LDFLAGS+= -L${LIBNBCOMPAT_SRCDIR} LIBS+= -lnbcompat +CPPFLAGS+= -DOPSYS_NAME='\"${OPSYS}\"' +CPPFLAGS+= -DMACHINE_ARCH='\"${MACHINE_ARCH}\"' + VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \ ${FILESDIR}/lib/version.h |