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:
phk 2001-01-01 19:46:43 +00:00
parent de830bf0bb
commit e52f3fe9ba

View File

@ -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