summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-15 01:40:13 +0000
committergrant <grant@pkgsrc.org>2004-01-15 01:40:13 +0000
commit208dcde53541bc23c96eae15032f6fa711e705f8 (patch)
tree63f55339459ef68c50b669a6fbacbbbab6de779d /pkgtools/pkg_install
parent8a84165b2900f37bab2afe4aebc6e6f0b7c29b96 (diff)
downloadpkgsrc-208dcde53541bc23c96eae15032f6fa711e705f8.tar.gz
we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile5
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