summaryrefslogtreecommitdiff
path: root/www/apache22/buildlink3.mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-12-08 23:31:52 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-12-08 23:31:52 +0000
commit0d915a97f3113a20c8ec3211ba43e4341d17c680 (patch)
tree10e4a0cfe0b52d92e54146176ff4b89fbbf04a5d /www/apache22/buildlink3.mk
parentcbf1e8c16ed1260ed9ffecf883d5f9fa169ff186 (diff)
downloadpkgsrc-0d915a97f3113a20c8ec3211ba43e4341d17c680.tar.gz
Apache 2.2.3 - latest stable version.
Please see http://httpd.apache.org/docs/2.2/new_features_2_2.html for the list of changes.
Diffstat (limited to 'www/apache22/buildlink3.mk')
-rw-r--r--www/apache22/buildlink3.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/www/apache22/buildlink3.mk b/www/apache22/buildlink3.mk
new file mode 100644
index 00000000000..67604e47971
--- /dev/null
+++ b/www/apache22/buildlink3.mk
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/12/08 23:31:52 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= apache
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napache}
+BUILDLINK_PACKAGES+= apache
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apache
+
+.if !empty(APACHE_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.apache+= apache>=2.2.3
+BUILDLINK_PKGSRCDIR.apache?= ../../www/apache22
+BUILDLINK_DEPMETHOD.apache?= build
+. if defined(APACHE_MODULE)
+BUILDLINK_DEPMETHOD.apache+= full
+. endif
+USE_TOOLS+= perl # for "apxs"
+CONFIGURE_ENV+= APR_LIBTOOL=${LIBTOOL:Q} # make apxs use the libtool we specify
+MAKE_ENV+= APR_LIBTOOL=${LIBTOOL:Q}
+APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
+. if defined(GNU_CONFIGURE)
+CONFIGURE_ARGS+= --with-apxs2=${APXS:Q}
+. endif
+.endif # APACHE_BUILDLINK3_MK
+
+.include "../../devel/apr1/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}