Module Name: src
Committed By: wiz
Date: Wed Dec 2 13:54:25 UTC 2020
Modified Files:
src/external/bsd/pkg_install/lib: Makefile
Log Message:
Define PREFIX for pkg_install build.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/pkg_install/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pkg_install/lib/Makefile
diff -u src/external/bsd/pkg_install/lib/Makefile:1.10 src/external/bsd/pkg_install/lib/Makefile:1.11
--- src/external/bsd/pkg_install/lib/Makefile:1.10 Fri Oct 4 09:47:28 2019
+++ src/external/bsd/pkg_install/lib/Makefile Wed Dec 2 13:54:25 2020
@@ -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 @@ pkg_install.conf.5: ${DIST}/lib/pkg_inst
CLEANFILES+= pkg_install.conf.5
CPPFLAGS+= -DNETBSD
+CPPFLAGS+= -DPREFIX=\"/usr/pkg\"
COPTS.plist.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}