diff options
author | grant <grant@pkgsrc.org> | 2004-02-11 11:41:43 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-02-11 11:41:43 +0000 |
commit | b03f3aa8823c0a0af60a12692a2e0d3bea8f26a1 (patch) | |
tree | 9f7a38b480c1433aad7aea1aeacec859ab76fe91 /pkgtools | |
parent | 6151d37b4222940a568a4aa89771c7ffd538f0cd (diff) | |
download | pkgsrc-b03f3aa8823c0a0af60a12692a2e0d3bea8f26a1.tar.gz |
pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index a1d54e03898..afb616c1b33 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.94 2004/02/09 22:04:12 jlam Exp $ +# $NetBSD: Makefile,v 1.95 2004/02/11 11:41:43 grant Exp $ # Notes to package maintainers: # @@ -43,8 +43,8 @@ CFLAGS+= -I${LIBNBCOMPAT_SRCDIR} LDFLAGS+= -L${LIBNBCOMPAT_SRCDIR} LIBS+= -lnbcompat -CPPFLAGS+= -DOPSYS_NAME='\"${OPSYS}\"' -CPPFLAGS+= -DMACHINE_ARCH='\"${MACHINE_ARCH}\"' +MAKE_ENV+= MACHINE_ARCH="${MACHINE_ARCH}" +MAKE_ENV+= OPSYS="${OPSYS}" PKG_DBDIR?= /var/db/pkg PKG_INFO= PKG_DBDIR=${PKG_DBDIR} ${PKG_INFO_CMD} |