From 8e228472e82c5a3f4dff9fe39c82a1b8db4a6399 Mon Sep 17 00:00:00 2001 From: martti Date: Thu, 17 Oct 2002 09:56:20 +0000 Subject: Added buildlink2.mk --- www/apache2/buildlink2.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 www/apache2/buildlink2.mk (limited to 'www/apache2') diff --git a/www/apache2/buildlink2.mk b/www/apache2/buildlink2.mk new file mode 100644 index 00000000000..dd6b77391b5 --- /dev/null +++ b/www/apache2/buildlink2.mk @@ -0,0 +1,33 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/17 09:56:20 martti Exp $ + +.if !defined(APACHE_BUILDLINK2_MK) +APACHE_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= apache +BUILDLINK_DEPENDS.apache?= apache>=2.0.43 +BUILDLINK_PKGSRCDIR.apache?= ../../www/apache2 + +USE_PERL5?= build # for "apxs" + +.if defined(APACHE_MODULE) +BUILDLINK_DEPMETHOD.apache?= full +.else +BUILDLINK_DEPMETHOD.apache?= build +.endif + +EVAL_PREFIX+= BUILDLINK_PREFIX.apache=apache +BUILDLINK_PREFIX.apache_DEFAULT= ${LOCALBASE} + +BUILDLINK_FILES.apache= include/httpd/*/*.[ch] +BUILDLINK_FILES.apache+= include/httpd/*.[ch] + +BUILDLINK_TARGETS+= apache-buildlink + +APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs +.if defined(GNU_CONFIGURE) +CONFIGURE_ARGS+= --with-apxs2="${APXS}" +.endif + +apache-buildlink: _BUILDLINK_USE + +.endif # APACHE_BUILDLINK2_MK -- cgit v1.2.3