This is not necessarily the correct fix, but at least sbin/init compiles
in a sterile environment like "make release"
This commit is contained in:
parent
cfc038e79c
commit
8440a01077
@ -8,14 +8,17 @@ BINMODE=500
|
||||
INSTALLFLAGS=-fschg
|
||||
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
||||
|
||||
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
||||
DISTRIBUTION=crypto
|
||||
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
|
||||
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
|
||||
.else
|
||||
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
|
||||
LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
|
||||
.endif
|
||||
#.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
||||
#DISTRIBUTION=crypto
|
||||
#DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
|
||||
#LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
|
||||
#.else
|
||||
#DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
|
||||
#LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
|
||||
#.endif
|
||||
|
||||
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libcrypt.a
|
||||
LDADD= -lutil -L${SCRYPTOBJDIR} -lcrypt
|
||||
|
||||
.if exists(${.OBJDIR}/../../lib/libcrypt)
|
||||
SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
|
||||
|
Loading…
Reference in New Issue
Block a user