summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2001-06-25 00:43:10 +0000
committerjkh <jkh@FreeBSD.org>2001-06-25 00:43:10 +0000
commit68b138298028d440cff9ba37ebf6f89e5a0f3b4d (patch)
tree6859cb8ec6cc75b75a3eee6ae318cbbee1b43e27 /release
parent1b3d3927a657d1c5b45bcd9e3a88fceefddf3b82 (diff)
downloadFreeBSD-src-68b138298028d440cff9ba37ebf6f89e5a0f3b4d.zip
FreeBSD-src-68b138298028d440cff9ba37ebf6f89e5a0f3b4d.tar.gz
Fix crypto targets to be user-overridable and also obey the
NO_SENDMAIL flag if set. The whole NO_FOO mechanism in /usr/src is pretty bogus and needs to be re-examined in the context of a larger argument about modularity, but that's something for another time. Submitted by: Peter Pentchev <roam@orbitel.bg>
Diffstat (limited to 'release')
-rw-r--r--release/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 318d4fd..e683e62 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -174,6 +174,14 @@ BIGBOOTLABEL= minimum2
ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
+# Things that need to be compiled without crypto support in releases
+.if !defined(FIXCRYPTO)
+FIXCRYPTO= bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump
+.if !defined(NO_SENDMAIL)
+FIXCRYPTO+= usr.sbin/sendmail
+.endif
+.endif
+
# Things which may get you into trouble if you change them
MTREEFILES= ${.CURDIR}/../etc/mtree
@@ -466,7 +474,7 @@ release.4:
#
release.5:
# Handle some grief caused by the munition braindeadness.
- for i in bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
+ for i in ${FIXCRYPTO}; do \
( cd ${.CURDIR}/../$$i; \
make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
done
OpenPOWER on IntegriCloud