diff options
Diffstat (limited to 'www/apache')
-rw-r--r-- | www/apache/buildlink3.mk | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk index 4662bba775f..2ed238ec748 100644 --- a/www/apache/buildlink3.mk +++ b/www/apache/buildlink3.mk @@ -1,9 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/01/04 23:34:07 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+ -.if !empty(APACHE_BUILDLINK3_MK:M\+) +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= apache +.endif + +.if !empty(APACHE_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= apache BUILDLINK_DEPENDS.apache?= apache{,6}-1.3.* BUILDLINK_PKGSRCDIR.apache?= ../../lang/apache . if defined(APACHE_MODULE) @@ -11,16 +16,10 @@ BUILDLINK_DEPMETHOD.apache+= full . else BUILDLINK_DEPMETHOD.apache?= build . endif -.endif # APACHE_BUILDLINK3_MK -.if !empty(BUILDLINK_DEPTH:M\+) -BUILDLINK_DEPENDS+= apache -USE_PERL5?= build # for "apxs" -.endif +USE_PERL5?= build # for "apxs" +APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs -.if !empty(APACHE_BUILDLINK3_MK:M\+) -BUILDLINK_PACKAGES+= apache -APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs . if defined(GNU_CONFIGURE) CONFIGURE_ARGS+= --with-apxs="${APXS}" . endif |