summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2015-02-18 15:31:10 +0000
committersthen <sthen@openbsd.org>2015-02-18 15:31:10 +0000
commit1c6b5d0448a1ceffbe0baf23b4d5ecaef7757ff6 (patch)
tree89117ee144c9a31604e95e7e56c52618ede9b5e6
parentwe're not using these macros (diff)
downloadwireguard-openbsd-1c6b5d0448a1ceffbe0baf23b4d5ecaef7757ff6.tar.xz
wireguard-openbsd-1c6b5d0448a1ceffbe0baf23b4d5ecaef7757ff6.zip
Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@
-rw-r--r--include/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index a204670389a..66216744941 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.199 2015/02/16 14:06:15 tedu Exp $
+# $OpenBSD: Makefile,v 1.200 2015/02/18 15:31:10 sthen Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -89,7 +89,7 @@ includes:
${INSTALL} ${INSTALL_COPY} -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
done; \
done
- @ln -sf openssl ${DESTDIR}/usr/include/ssl
+ @ln -sfh openssl ${DESTDIR}/usr/include/ssl
@echo installing ${LFILES}
@for i in ${LFILES}; do \
rm -f ${DESTDIR}/usr/include/$$i && \