From: Lionel Sambuc Date: Fri, 9 Oct 2015 13:46:08 +0000 (+0200) Subject: pkg_install: Set default paths as expected on MINIX X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F3213%2F1;p=minix.git pkg_install: Set default paths as expected on MINIX Change-Id: I97568cb5c92d14b7175ba0ed0f3efb2009d0c455 --- 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