summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-10-17 09:56:20 +0000
committermartti <martti@pkgsrc.org>2002-10-17 09:56:20 +0000
commit8e228472e82c5a3f4dff9fe39c82a1b8db4a6399 (patch)
treefc02e9d9d2973864bd4d60477a0501cefbbcddf9 /www
parentcbf80901b694d2006c79613807e825b3640e3981 (diff)
downloadpkgsrc-8e228472e82c5a3f4dff9fe39c82a1b8db4a6399.tar.gz
Added buildlink2.mk
Diffstat (limited to 'www')
-rw-r--r--www/apache2/buildlink2.mk33
1 files changed, 33 insertions, 0 deletions
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