diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-08 00:15:53 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-08 00:15:53 +0000 |
commit | a51fabcffd9a6eb63c439d0bdca35612c82d1b60 (patch) | |
tree | d4fd0cf60136bf83541d4bfb83f01d8cb736f696 /www/apache2/buildlink3.mk | |
parent | 1dda53a009b39a18a69b157af0b736d15cb6b942 (diff) | |
download | pkgsrc-a51fabcffd9a6eb63c439d0bdca35612c82d1b60.tar.gz |
bl3ify.
Diffstat (limited to 'www/apache2/buildlink3.mk')
-rw-r--r-- | www/apache2/buildlink3.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/www/apache2/buildlink3.mk b/www/apache2/buildlink3.mk new file mode 100644 index 00000000000..2e8cc2831aa --- /dev/null +++ b/www/apache2/buildlink3.mk @@ -0,0 +1,33 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/08 00:15:53 minskim 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 + +.if !empty(APACHE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.apache+= apache>=2.0.48nb3 +BUILDLINK_PKGSRCDIR.apache?= ../../www/apache2 +BUILDLINK_DEPMETHOD.apache?= build + +USE_PERL5?= build # for "apxs" + +.if defined(APACHE_MODULE) +BUILDLINK_DEPMETHOD.apache+= full +.endif + +.include "../../devel/apr/buildlink3.mk" + +APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs +.if defined(GNU_CONFIGURE) +CONFIGURE_ARGS+= --with-apxs2="${APXS}" +.endif + +.endif # APACHE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |