Sat Aug 27 06:55:49 2016 UTC ()
oops, whitespace


(dholland)
diff -r1.1 -r1.2 pkgsrc/databases/rrdtool/options.mk

cvs diff -r1.1 -r1.2 pkgsrc/databases/rrdtool/options.mk (expand / switch to unified diff)

--- pkgsrc/databases/rrdtool/options.mk 2016/08/27 06:42:43 1.1
+++ pkgsrc/databases/rrdtool/options.mk 2016/08/27 06:55:49 1.2
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1# $NetBSD: options.mk,v 1.1 2016/08/27 06:42:43 dholland Exp $ 1# $NetBSD: options.mk,v 1.2 2016/08/27 06:55:49 dholland Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.rrdtool 3PKG_OPTIONS_VAR= PKG_OPTIONS.rrdtool
4PKG_SUPPORTED_OPTIONS= lua python tcl 4PKG_SUPPORTED_OPTIONS= lua python tcl
5PKG_SUGGESTED_OPTIONS= lua python tcl 5PKG_SUGGESTED_OPTIONS= lua python tcl
6 6
7# Note that there's another (apparently different) python library 7# Note that there's another (apparently different) python library
8# in databases/py-python-rrdtool. 8# in databases/py-python-rrdtool.
9 9
10.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
11 11
12PLIST_VARS+= python tcl lua 12PLIST_VARS+= python tcl lua
13 13
14 14
15# 15#
16# XXX: this should include egg.mk, but that doesn't work: it includes 16# XXX: this should include egg.mk, but that doesn't work: it includes
17# extension.mk, which sets do-build and do-install rules, in such a 17# extension.mk, which sets do-build and do-install rules, in such a
18# way that we can't override it. Instead we need to cutpaste the 18# way that we can't override it. Instead we need to cutpaste the
19# definition of EGG_INFODIR and its plist bits. Sigh. Probably the 19# definition of EGG_INFODIR and its plist bits. Sigh. Probably the
20# right thing to do is make this a separate package. 20# right thing to do is make this a separate package.
21#  21#
22.if !empty(PKG_OPTIONS:Mpython) 22.if !empty(PKG_OPTIONS:Mpython)
23CONFIGURE_ARGS+= --enable-python 23CONFIGURE_ARGS+= --enable-python
24 24
25REPLACE_PYTHON= examples/stripes.py 25REPLACE_PYTHON= examples/stripes.py
26.include "../../lang/python/application.mk" 26.include "../../lang/python/application.mk"
27 27
28PLIST.python= yes 28PLIST.python= yes
29EGG_NAME= py_rrdtool-0.2.2 29EGG_NAME= py_rrdtool-0.2.2
30EGG_INFODIR?= ${EGG_NAME}-py${PYVERSSUFFIX}.egg-info 30EGG_INFODIR?= ${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
31PLIST_SUBST+= PYSITELIB=${PYSITELIB} 31PLIST_SUBST+= PYSITELIB=${PYSITELIB}
32PLIST_SUBST+= EGG_INFODIR=${EGG_INFODIR} 32PLIST_SUBST+= EGG_INFODIR=${EGG_INFODIR}
33#.include "../../lang/python/egg.mk" 33#.include "../../lang/python/egg.mk"
34 34