summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2004-01-15 01:40:13 +0000
committergrant <grant>2004-01-15 01:40:13 +0000
commited4b6ee2bec0208e51c10e6c08358cc4ab72456e (patch)
tree63f55339459ef68c50b669a6fbacbbbab6de779d /pkgtools/pkg_install/Makefile
parentac01f25479ea33dba133ee9e169c749a2981b56c (diff)
downloadpkgsrc-ed4b6ee2bec0208e51c10e6c08358cc4ab72456e.tar.gz
we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-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