summaryrefslogtreecommitdiff
path: root/www/apache
diff options
context:
space:
mode:
authorgrant <grant>2004-12-19 04:02:43 +0000
committergrant <grant>2004-12-19 04:02:43 +0000
commitb4e7c5ba626d8e22fb65b7ca86b7b674596ad01f (patch)
tree4ce1bf8c39d7645c88071afc41c62dfc8d215fc4 /www/apache
parentf66dddb5c0963b4b33db6ddac3af0595da72295f (diff)
downloadpkgsrc-b4e7c5ba626d8e22fb65b7ca86b7b674596ad01f.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.mk6
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/+$//}