Source-Changes-HG archive

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

[src/trunk]: src/tools/pkg_install/lib use the host compiler



details:   https://anonhg.NetBSD.org/src/rev/97962720d7ac
branches:  trunk
changeset: 848001:97962720d7ac
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 13 19:03:03 2020 +0000

description:
use the host compiler

diffstat:

 tools/pkg_install/lib/Makefile |  23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 6751c2506605 -r 97962720d7ac tools/pkg_install/lib/Makefile
--- a/tools/pkg_install/lib/Makefile    Mon Jan 13 18:22:56 2020 +0000
+++ b/tools/pkg_install/lib/Makefile    Mon Jan 13 19:03:03 2020 +0000
@@ -1,10 +1,23 @@
-# $NetBSD: Makefile,v 1.1 2020/01/12 21:49:39 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/13 19:03:03 christos Exp $
 .include <bsd.own.mk>
 
-HOSTLIB=       ${LIB}
+HOSTLIB=       install
+
+.include <bsd.hostinit.mk>
+
+SRCS=  automatic.c conflicts.c dewey.c \
+       fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
+       opattern.c parse-config.c pkcs7.c pkg_signature.c \
+       pkgdb.c pkg_io.c plist.c remove.c \
+       str.c version.c var.c vulnerabilities-file.c xwrapper.c
 
 HOST_CPPFLAGS+=        ${CPPFLAGS}
-HOST_SRCS+=    ${SRCS}
+
+CPPFLAGS+=      -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
+
+.PATH:          ${NETBSDSRCDIR}/external/bsd/pkg_install/dist/lib
 
-.include "${NETBSDSRCDIR}/external/bsd/pkg_install/lib/Makefile"
-.include "${.CURDIR}/../Makefile.inc"
+HOST_CPPFLAGS= ${CPPFLAGS}
+
+#.include "${.CURDIR}/../../Makefile.nbincludes"
+.include <bsd.hostlib.mk>



Home | Main Index | Thread Index | Old Index