summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-08-03 16:22:47 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-08-03 16:22:47 +0000
commit88b9c792ce4b73208c494d7354e2368d55e55451 (patch)
tree5f47ce317a128c0818955a20134be67650bbe33e /usr.sbin/sendmail
parent18d8718070b989bd990856066b78524de0c517d7 (diff)
downloadFreeBSD-src-88b9c792ce4b73208c494d7354e2368d55e55451.zip
FreeBSD-src-88b9c792ce4b73208c494d7354e2368d55e55451.tar.gz
Convert to using the same method of detecting the secure directory as other
usr.sbin programs. Noted by: markm
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r--usr.sbin/sendmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index 9aeab03..97297e7 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -42,8 +42,9 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
DPADD+= ${LIBSMUTIL}
LDADD+= ${LIBSMUTIL}
-.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \
- !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
+.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && \
+ !defined(NOSECURE) && !defined(NO_OPENSSL) && \
+ !defined(RELEASE_CRUNCH)
# STARTTLS support
DISTRIBUTION= crypto
CFLAGS+= -DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK
OpenPOWER on IntegriCloud