pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install we need to define OPSYS_NAME and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b290f5c7958
branches:  trunk
changeset: 466284:6b290f5c7958
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 15 01:40:13 2004 +0000

description:
we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.

diffstat:

 pkgtools/pkg_install/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ae5301510afa -r 6b290f5c7958 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Wed Jan 14 23:55:29 2004 +0000
+++ b/pkgtools/pkg_install/Makefile     Thu Jan 15 01:40:13 2004 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index