Further tidy up the sbin/init and release builds.
This commit is contained in:
parent
29931e8454
commit
623d7cd30e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70565
@ -422,7 +422,7 @@ release.4:
|
||||
#
|
||||
release.5:
|
||||
# Handle some grief caused by the munition braindeadness.
|
||||
for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
|
||||
for i in bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
|
||||
( cd ${.CURDIR}/../$$i; \
|
||||
make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
|
||||
done
|
||||
|
@ -7,34 +7,8 @@ MLINKS= init.8 securelevel.8
|
||||
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
|
||||
|
||||
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libcrypt.a
|
||||
LDADD= -lutil -L${SCRYPTOBJDIR} -lcrypt
|
||||
|
||||
.if exists(${.OBJDIR}/../../lib/libcrypt)
|
||||
SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
|
||||
.else
|
||||
SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
||||
.endif
|
||||
|
||||
.if exists (${.CURDIR}/../../secure)
|
||||
|
||||
.if exists(${.OBJDIR}/../../secure/lib/libcrypt)
|
||||
DESCRYPTOBJDIR= ${.OBJDIR}/../../secure/lib/libcrypt
|
||||
.else
|
||||
DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
|
||||
.endif
|
||||
|
||||
.endif
|
||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||
LDADD= -lutil -lcrypt
|
||||
|
||||
beforeinstall:
|
||||
.if exists(${DESTDIR}${BINDIR}/${PROG})
|
||||
|
Loading…
Reference in New Issue
Block a user