summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/Makefile2
-rw-r--r--sbin/init/Makefile30
2 files changed, 3 insertions, 29 deletions
diff --git a/release/Makefile b/release/Makefile
index abd5159..76666b4 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 7b9547d..83488c1 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -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})
OpenPOWER on IntegriCloud