diff options
author | grant <grant@pkgsrc.org> | 2004-12-19 04:02:43 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-12-19 04:02:43 +0000 |
commit | 35616f80b54ad68fbbb32d26e3ed1b33eb6cdded (patch) | |
tree | 4ce1bf8c39d7645c88071afc41c62dfc8d215fc4 /www/apache | |
parent | 11560e3b7faf688302109510e659e13a1ad45d9a (diff) | |
download | pkgsrc-35616f80b54ad68fbbb32d26e3ed1b33eb6cdded.tar.gz |
when Apache is built with dlcompat present, the installed httpd/os.h
header file #includes <dlfcn.h>, 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).
Diffstat (limited to 'www/apache')
-rw-r--r-- | www/apache/buildlink3.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk index f75881ebaab..2c0b88b8b23 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 <dlfcn.h> when it is found by +# Apache's configure script. +.include "../../mk/dlopen.buildlink3.mk" + .endif # APACHE_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |