From 128c8abdc77c1d4acafe1871bc3fc1fdcfaab5ff Mon Sep 17 00:00:00 2001 From: sthen <> Date: Wed, 18 Feb 2015 15:31:10 +0000 Subject: [PATCH] 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@ --- src/include/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/Makefile b/src/include/Makefile index a2046703..66216744 100644 --- a/src/include/Makefile +++ b/src/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 && \