pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache include apache's buildlink3.mk if using bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f18a60b374b
branches:  trunk
changeset: 474988:1f18a60b374b
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat May 08 15:12:52 2004 +0000

description:
include apache's buildlink3.mk if using buildlink3.

diffstat:

 www/apache/module.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 0e198cc5a383 -r 1f18a60b374b www/apache/module.mk
--- a/www/apache/module.mk      Sat May 08 15:10:58 2004 +0000
+++ b/www/apache/module.mk      Sat May 08 15:12:52 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.7 2003/07/18 10:57:15 grant Exp $
+# $NetBSD: module.mk,v 1.8 2004/05/08 15:12:52 grant Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install apache modules.
@@ -24,7 +24,11 @@
 _APACHE_MODULE_MK=     # defined
 APACHE_MODULE=         # defined
 
-.include "../../www/apache/buildlink2.mk"
+.if defined(USE_BUILDLINK2)
+.  include "../../www/apache/buildlink2.mk"
+.elif defined(USE_BUILDLINK3)
+.  include "../../www/apache/buildlink3.mk"
+.endif
 
 APACHE_MODULE_SRCDIR?= ${WRKSRC}
 APACHE_MODULE_SRC?=    *.c



Home | Main Index | Thread Index | Old Index