diff options
Diffstat (limited to 'src/lib/libressl/Makefile')
-rw-r--r-- | src/lib/libressl/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libressl/Makefile b/src/lib/libressl/Makefile index c6f4328b79..167379edff 100644 --- a/src/lib/libressl/Makefile +++ b/src/lib/libressl/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2014/07/12 01:20:24 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.2 2014/07/13 22:13:52 jsing Exp $ |
2 | 2 | ||
3 | CFLAGS+= -Wall -Werror -Wimplicit | 3 | CFLAGS+= -Wall -Werror -Wimplicit |
4 | CFLAGS+= -DLIBRESSL_INTERNAL | 4 | CFLAGS+= -DLIBRESSL_INTERNAL |
@@ -7,7 +7,7 @@ LIB= ressl | |||
7 | 7 | ||
8 | DPADD= ${LIBCRYPTO} ${LIBSSL} | 8 | DPADD= ${LIBCRYPTO} ${LIBSSL} |
9 | 9 | ||
10 | HDRS= ressl.h ressl_config.h | 10 | HDRS= ressl.h |
11 | 11 | ||
12 | SRCS= ressl.c \ | 12 | SRCS= ressl.c \ |
13 | ressl_config.c \ | 13 | ressl_config.c \ |
@@ -15,12 +15,10 @@ SRCS= ressl.c \ | |||
15 | ressl_verify.c | 15 | ressl_verify.c |
16 | 16 | ||
17 | includes: | 17 | includes: |
18 | @test -d ${DESTDIR}/usr/include/ressl || \ | ||
19 | mkdir ${DESTDIR}/usr/include/ressl | ||
20 | @cd ${.CURDIR}; for i in $(HDRS); do \ | 18 | @cd ${.CURDIR}; for i in $(HDRS); do \ |
21 | j="cmp -s $$i ${DESTDIR}/usr/include/ressl/$$i || \ | 19 | j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ |
22 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ | 20 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ |
23 | ${DESTDIR}/usr/include/ressl"; \ | 21 | ${DESTDIR}/usr/include/"; \ |
24 | echo $$j; \ | 22 | echo $$j; \ |
25 | eval "$$j"; \ | 23 | eval "$$j"; \ |
26 | done; | 24 | done; |