pkg_install: Set default paths as expected on MINIX

Change-Id: I97568cb5c92d14b7175ba0ed0f3efb2009d0c455
This commit is contained in:
Lionel Sambuc 2015-10-09 15:46:08 +02:00
parent 9dfdf6f7ba
commit b5400f9ff4

View file

@ -7,7 +7,12 @@ USE_FORT?=yes # network client
CPPFLAGS+=-I${DIST}/lib CPPFLAGS+=-I${DIST}/lib
CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/pkg_install/lib CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/pkg_install/lib
CPPFLAGS+=-DHAVE_CONFIG_H -DNETBSD -DHAVE_SSL CPPFLAGS+=-DHAVE_CONFIG_H -DNETBSD -DHAVE_SSL
.if !defined(__MINIX)
CPPFLAGS+=-DSYSCONFDIR='"/etc"' CPPFLAGS+=-DSYSCONFDIR='"/etc"'
.else
CPPFLAGS+=-DSYSCONFDIR='"/usr/pkg/etc"'
CPPFLAGS+=-DDEF_LOG_DIR='"/usr/pkg/var/db/pkg"'
.endif # !defined(__MINIX)
WARNS= 4 WARNS= 4
CWARNFLAGS+= -Wno-missing-noreturn CWARNFLAGS+= -Wno-missing-noreturn