Tue Jan 29 19:04:28 2008 UTC ()
Explain why options are defined but not used in options.mk (because
it's included in many packages).


(gdt)
diff -r1.2 -r1.3 pkgsrc/devel/subversion-base/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/devel/subversion-base/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/subversion-base/options.mk 2007/01/25 18:15:49 1.2
+++ pkgsrc/devel/subversion-base/options.mk 2008/01/29 19:04:28 1.3
@@ -1,14 +1,19 @@ @@ -1,14 +1,19 @@
1# $NetBSD: options.mk,v 1.2 2007/01/25 18:15:49 epg Exp $ 1# $NetBSD: options.mk,v 1.3 2008/01/29 19:04:28 gdt Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.subversion 3PKG_OPTIONS_VAR= PKG_OPTIONS.subversion
4PKG_SUPPORTED_OPTIONS= apache22 apr1 serf 4PKG_SUPPORTED_OPTIONS= apache22 apr1 serf
5 5
 6# Note that this file is included as part of several packages.
 7# Therefore this file only defines options, but does not include the
 8# typical fragments to change behavior based on options, leaving those
 9# to the individual Makefiles.
 10
6.include "../../mk/bsd.options.mk" 11.include "../../mk/bsd.options.mk"
7 12
8.if !empty(PKG_OPTIONS:Mapache22) || !empty(PKG_OPTIONS:Mserf) 13.if !empty(PKG_OPTIONS:Mapache22) || !empty(PKG_OPTIONS:Mserf)
9PKG_OPTIONS+= apr1 14PKG_OPTIONS+= apr1
10.endif 15.endif
11 16
12.if !empty(PKG_OPTIONS:Mapr1) && empty(PKG_OPTIONS:Mapache22) 17.if !empty(PKG_OPTIONS:Mapr1) && empty(PKG_OPTIONS:Mapache22)
13PKG_OPTIONS+= apache22 18PKG_OPTIONS+= apache22
14.endif 19.endif