diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-03-04 11:35:30 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-03-04 11:35:30 +0000 |
commit | b71fb1a4aa198495970831c748fa2d132621fe3d (patch) | |
tree | 1aa5184f53ef734aacd7fbc1c3b9213098033408 /secure/Makefile.inc | |
parent | 4c3e79cedd538c0306d7de27e1ff66b6fee126cb (diff) | |
download | src-test2-b71fb1a4aa198495970831c748fa2d132621fe3d.tar.gz src-test2-b71fb1a4aa198495970831c748fa2d132621fe3d.zip |
crypto: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=314658
Diffstat (limited to 'secure/Makefile.inc')
-rw-r--r-- | secure/Makefile.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/secure/Makefile.inc b/secure/Makefile.inc index ca4cb857f2f7..6c298be0223f 100644 --- a/secure/Makefile.inc +++ b/secure/Makefile.inc @@ -2,14 +2,14 @@ .include <src.opts.mk> -.if exists(${.CURDIR}/../../lib/libcrypt/obj) -CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj +.if exists(${.CURDIR:H:H}/lib/libcrypt/obj) +CRYPTOBJDIR= ${.CURDIR:H:H}/lib/libcrypt/obj .else -CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt +CRYPTOBJDIR= ${.CURDIR:H:H}/lib/libcrypt .endif .if ${MK_OPENSSH} != "no" -SSHDIR= ${.CURDIR}/../../../crypto/openssh +SSHDIR= ${SRCTOP}/crypto/openssh .endif WARNS?= 0 |