diff options
author | grant <grant@pkgsrc.org> | 2004-01-15 01:40:13 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-15 01:40:13 +0000 |
commit | 208dcde53541bc23c96eae15032f6fa711e705f8 (patch) | |
tree | 63f55339459ef68c50b669a6fbacbbbab6de779d | |
parent | 8a84165b2900f37bab2afe4aebc6e6f0b7c29b96 (diff) | |
download | pkgsrc-208dcde53541bc23c96eae15032f6fa711e705f8.tar.gz |
we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.
-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 |