2005-12-06 00:55:01 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.11 2005/12/05 23:55:22 rillig Exp $
|
2004-01-04 00:06:43 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
|
|
|
|
|
2004-01-05 00:34:04 +01:00
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= apache
|
|
|
|
.endif
|
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napache}
|
|
|
|
BUILDLINK_PACKAGES+= apache
|
|
|
|
|
2004-01-05 00:34:04 +01:00
|
|
|
.if !empty(APACHE_BUILDLINK3_MK:M+)
|
2004-01-24 04:26:45 +01:00
|
|
|
BUILDLINK_DEPENDS.apache+= apache{,6}-1.3.*
|
2004-02-11 19:35:43 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.apache?= ../../www/apache
|
2004-03-05 20:25:06 +01:00
|
|
|
|
|
|
|
.if defined(APACHE_MODULE)
|
2004-01-04 00:06:43 +01:00
|
|
|
BUILDLINK_DEPMETHOD.apache+= full
|
2004-03-05 20:25:06 +01:00
|
|
|
.else
|
2004-01-04 00:06:43 +01:00
|
|
|
BUILDLINK_DEPMETHOD.apache?= build
|
2004-03-05 20:25:06 +01:00
|
|
|
.endif
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl # for "apxs"
|
2004-01-05 00:34:04 +01:00
|
|
|
APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
.if defined(GNU_CONFIGURE)
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
|
2004-03-05 20:25:06 +01:00
|
|
|
.endif
|
|
|
|
|
2004-12-19 05:02:43 +01:00
|
|
|
# required because httpd/os.h includes <dlfcn.h> when it is found by
|
|
|
|
# Apache's configure script.
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
|
|
|
2004-01-04 00:06:43 +01:00
|
|
|
.endif # APACHE_BUILDLINK3_MK
|
|
|
|
|
2004-01-05 12:05:44 +01:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|