summaryrefslogtreecommitdiff
path: root/secure/Makefile.inc
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:35:30 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:35:30 +0000
commitb71fb1a4aa198495970831c748fa2d132621fe3d (patch)
tree1aa5184f53ef734aacd7fbc1c3b9213098033408 /secure/Makefile.inc
parent4c3e79cedd538c0306d7de27e1ff66b6fee126cb (diff)
downloadsrc-test-b71fb1a4aa198495970831c748fa2d132621fe3d.tar.gz
src-test-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.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/secure/Makefile.inc b/secure/Makefile.inc
index ca4cb857f2f72..6c298be0223f6 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