summaryrefslogtreecommitdiff
path: root/mk/apache.mk
diff options
context:
space:
mode:
authortv <tv>2005-03-24 17:46:00 +0000
committertv <tv>2005-03-24 17:46:00 +0000
commitbecbeb0d92ed90e67235a5d22f77020cb7d29952 (patch)
treed810c92114f578110af57e0a04897d51e7bceb57 /mk/apache.mk
parentbbdac93695f620db587d57e13966052e8dffd9a5 (diff)
downloadpkgsrc-becbeb0d92ed90e67235a5d22f77020cb7d29952.tar.gz
USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mail
to tech-pkg: ===== * USE_BUILDLINK3=YES will be unconditional. (In fact, USE_BUILDLINK3 will be ignored altogether by mk/; but see below.) * NO_BUILDLINK and NO_WRAPPER will be ignored by mk/. If a build happens, these phases will happen. * The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER. If no build happens, those phases are not needed. * NO_TOOLS will be ignored by mk/. The tools phase, which provides much more than just the C compiler, will always happen regardless of package. This will make metapackage builds only slightly slower, in trade for far less user error.
Diffstat (limited to 'mk/apache.mk')
-rw-r--r--mk/apache.mk22
1 files changed, 3 insertions, 19 deletions
diff --git a/mk/apache.mk b/mk/apache.mk
index 57aaf9630af..028dd5daed2 100644
--- a/mk/apache.mk
+++ b/mk/apache.mk
@@ -1,4 +1,4 @@
-# $NetBSD: apache.mk,v 1.7 2005/01/03 13:20:28 seb Exp $
+# $NetBSD: apache.mk,v 1.8 2005/03/24 17:46:00 tv Exp $
#
# This Makefile fragment handles Apache dependencies and make variables,
# and is meant to be included by packages that require Apache either at
@@ -120,36 +120,20 @@ _APACHE_BL_SRCDIR= ${_APACHE_PKGSRCDIR}
_APACHE_BL_SRCDIR?= ../../www/apache
-_APACHE_DEPENDENCY?= ${BUILDLINK_DEPENDS.${_PKG_APACHE}}:${_APACHE_PKGSRCDIR}
-
# Add a runtime dependency on the apache server.
# This may or may not create an actual dependency depending on
# what the apache buildlink[23].mk file does.
#
.if defined(_APACHE_PKGSRCDIR)
-. if defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[nN][oO])
-. include "${_APACHE_BL_SRCDIR}/buildlink3.mk"
-. else
-DEPENDS+= ${_APACHE_DEPENDENCY}
-. endif
+. include "${_APACHE_BL_SRCDIR}/buildlink3.mk"
.endif
# If we are building apache modules, then we might need a build-time
# dependency on apr, and the apache sources?
#
-.if defined(_APACHE_PKGSRCDIR)
-. if defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[nN][oO])
-. include "${_APACHE_BL_SRCDIR}/buildlink3.mk"
-. else
-BUILD_DEPENDS+= ${_APACHE_DEPENDENCY}
-. endif
-.endif
-
.if ${_PKG_APACHE} == "apache2"
. if defined(USE_APR) && !empty(USE_APR:M[yY][eE][sS])
-. if defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[nN][oO])
-. include "../../devel/apr/buildlink3.mk"
-. endif
+. include "../../devel/apr/buildlink3.mk"
. endif
.endif