Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pkg_install/lib Define PREFIX for pkg_install b...



details:   https://anonhg.NetBSD.org/src/rev/3cd7c3e82f1f
branches:  trunk
changeset: 946583:3cd7c3e82f1f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Dec 02 13:54:25 2020 +0000

description:
Define PREFIX for pkg_install build.

diffstat:

 external/bsd/pkg_install/lib/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d5afcbed89b0 -r 3cd7c3e82f1f external/bsd/pkg_install/lib/Makefile
--- a/external/bsd/pkg_install/lib/Makefile     Wed Dec 02 13:53:50 2020 +0000
+++ b/external/bsd/pkg_install/lib/Makefile     Wed Dec 02 13:54:25 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2019/10/04 09:47:28 mrg Exp $
+# $NetBSD: Makefile,v 1.11 2020/12/02 13:54:25 wiz Exp $
 # Original from FreeBSD, no rcs id.
 
 LIBISPRIVATE=  yes
@@ -24,6 +24,7 @@
 CLEANFILES+=   pkg_install.conf.5
 
 CPPFLAGS+=     -DNETBSD
+CPPFLAGS+=     -DPREFIX=\"/usr/pkg\"
 
 COPTS.plist.c+=        ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}
 



Home | Main Index | Thread Index | Old Index