pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache when Apache is built with dlcompat present,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b0415dba07e
branches:  trunk
changeset: 485710:8b0415dba07e
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 19 04:02:43 2004 +0000

description:
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:

 www/apache/buildlink3.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 02d6a93ffc13 -r 8b0415dba07e www/apache/buildlink3.mk
--- a/www/apache/buildlink3.mk  Sun Dec 19 03:50:44 2004 +0000
+++ b/www/apache/buildlink3.mk  Sun Dec 19 04:02:43 2004 +0000
@@ -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 @@
 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/+$//}



Home | Main Index | Thread Index | Old Index