pkg_install: Set default paths as expected on MINIX
Change-Id: I97568cb5c92d14b7175ba0ed0f3efb2009d0c455
This commit is contained in:
parent
9dfdf6f7ba
commit
b5400f9ff4
1 changed files with 5 additions and 0 deletions
5
external/bsd/pkg_install/Makefile.inc
vendored
5
external/bsd/pkg_install/Makefile.inc
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue