From b5400f9ff4ff67bfa086a3128667244c1563408a Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Fri, 9 Oct 2015 15:46:08 +0200 Subject: [PATCH] pkg_install: Set default paths as expected on MINIX Change-Id: I97568cb5c92d14b7175ba0ed0f3efb2009d0c455 --- external/bsd/pkg_install/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/external/bsd/pkg_install/Makefile.inc b/external/bsd/pkg_install/Makefile.inc index d6de60e41..fbbd7d3a3 100644 --- a/external/bsd/pkg_install/Makefile.inc +++ b/external/bsd/pkg_install/Makefile.inc @@ -7,7 +7,12 @@ USE_FORT?=yes # network client CPPFLAGS+=-I${DIST}/lib CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/pkg_install/lib CPPFLAGS+=-DHAVE_CONFIG_H -DNETBSD -DHAVE_SSL +.if !defined(__MINIX) CPPFLAGS+=-DSYSCONFDIR='"/etc"' +.else +CPPFLAGS+=-DSYSCONFDIR='"/usr/pkg/etc"' +CPPFLAGS+=-DDEF_LOG_DIR='"/usr/pkg/var/db/pkg"' +.endif # !defined(__MINIX) WARNS= 4 CWARNFLAGS+= -Wno-missing-noreturn -- 2.44.0