From 35616f80b54ad68fbbb32d26e3ed1b33eb6cdded Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 19 Dec 2004 04:02:43 +0000 Subject: [PATCH] when Apache is built with dlcompat present, the installed httpd/os.h header file #includes , so we need to include dlopen.buildlink3.mk so that dlfcn.h can be found by packages which use httpd/os.h. XXX this is not entirely correct, but works around the problem XXX sufficiently. the problem is that Darwin (7.7.x) has dlopen() and XXX friends but does not provide prototypes in dlfcn.h (or anywhere else). --- www/apache/buildlink3.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk index f75881ebaab8..2c0b88b8b237 100644 --- a/www/apache/buildlink3.mk +++ b/www/apache/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.8 2004/05/17 21:32:34 seb Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2004/12/19 04:02:43 grant Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+ @@ -27,6 +27,10 @@ APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs CONFIGURE_ARGS+= --with-apxs="${APXS}" .endif +# required because httpd/os.h includes when it is found by +# Apache's configure script. +.include "../../mk/dlopen.buildlink3.mk" + .endif # APACHE_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}