summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/Makefile.inc4
-rw-r--r--secure/lib/libcrypto/Makefile.inc2
-rw-r--r--secure/lib/libcrypto/engines/Makefile.inc2
-rw-r--r--secure/lib/libssh/Makefile2
4 files changed, 5 insertions, 5 deletions
diff --git a/secure/lib/Makefile.inc b/secure/lib/Makefile.inc
index 002a3f7..c6d2f5b 100644
--- a/secure/lib/Makefile.inc
+++ b/secure/lib/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
.include "../Makefile.inc"
-.if exists(${.CURDIR}/../../../lib/Makefile.inc)
-.include "${.CURDIR}/../../../lib/Makefile.inc"
+.if exists(${.CURDIR:H:H:H}/lib/Makefile.inc)
+.include "${.CURDIR:H:H:H}/lib/Makefile.inc"
.endif
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 752777e..53ab6b0 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -6,7 +6,7 @@
OPENSSL_VER= 1.0.2k
OPENSSL_DATE= 2017-01-26
-LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl
+LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
LCRYPTO_DOC= ${LCRYPTO_SRC}/doc
CFLAGS+= -I${LCRYPTO_SRC}
diff --git a/secure/lib/libcrypto/engines/Makefile.inc b/secure/lib/libcrypto/engines/Makefile.inc
index 3ee4b2d..0680051 100644
--- a/secure/lib/libcrypto/engines/Makefile.inc
+++ b/secure/lib/libcrypto/engines/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
-LCRYPTO_SRC= ${.CURDIR}/../../../../../crypto/openssl
+LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
.PATH: ${LCRYPTO_SRC}/engines ${LCRYPTO_SRC}/engines/ccgost
SHLIBDIR?= /usr/lib/engines
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index 915e17c..a606bd8 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -37,7 +37,7 @@ SRCS+= bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c fmt_scaled.c \
.if ${MK_LDNS} == "no"
SRCS+= getrrsetbyname.c
.else
-LDNSDIR= ${.CURDIR}/../../../contrib/ldns
+LDNSDIR= ${SRCTOP}/contrib/ldns
CFLAGS+= -DHAVE_LDNS=1 -I${LDNSDIR}
SRCS+= getrrsetbyname-ldns.c
LIBADD+= ldns
OpenPOWER on IntegriCloud