pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install pass OPSYS and MACHINE_ARCH in th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bae847a9a9fb
branches: trunk
changeset: 468231:bae847a9a9fb
user: grant <grant%pkgsrc.org@localhost>
date: Wed Feb 11 11:41:43 2004 +0000
description:
pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS.
diffstat:
pkgtools/pkg_install/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 210b4874e0e1 -r bae847a9a9fb pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Wed Feb 11 11:37:57 2004 +0000
+++ b/pkgtools/pkg_install/Makefile Wed Feb 11 11:41:43 2004 +0000
@@ -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 @@
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}
Home |
Main Index |
Thread Index |
Old Index