From d3586d4e95374caa9fc687e9b33e7527cbf5577e Mon Sep 17 00:00:00 2001
From: tb <>
Date: Sat, 29 Jul 2023 06:46:20 +0000
Subject: Move HAVE_FUNOPEN out of !NOPIC

Due to some historic accident, HAVE_FUNOPEN was grouped with DSO_DLFCN
and HAVE_DLFCN_H inside !defined(NOPIC). While the two DLFCN bits belong
there, HAVE_FUNOPEN doesn't.

ok jsing, millert agrees
---
 src/lib/libcrypto/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 390eb06b90..c882c1a9dd 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.152 2023/07/28 11:08:01 jsing Exp $
+# $OpenBSD: Makefile,v 1.153 2023/07/29 06:46:20 tb Exp $
 
 LIB=	crypto
 LIBREBUILD=y
@@ -22,11 +22,7 @@ CFLAGS+= -DLIBRESSL_INTERNAL
 .ifdef NAMESPACE
 CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE
 .endif
-
-
-.if !defined(NOPIC)
 CFLAGS+= -DHAVE_FUNOPEN
-.endif
 
 CFLAGS+= -I${LCRYPTO_SRC}
 CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU}
-- 
cgit v1.2.3-55-g6feb