+ Provide a ~perl variant to support building on systems w/o the perl-devel

package installed.
This commit is contained in:
Kelly (KT) Thompson 2016-03-22 09:33:49 -06:00
parent 3214cd0d56
commit 1f8d79b69a

View file

@ -8,7 +8,6 @@ class Graphviz(Package):
version('2.38.0', '5b6a829b2ac94efcd5fa3c223ed6d3ae')
variant('perl', default=True, description='Disable if you have problems with the optional script language bindings')
variant('shared', default=True, description='Building static is required on AIX')
parallel = False
@ -20,8 +19,6 @@ def install(self, spec, prefix):
options = ['--prefix=%s' % prefix]
if '~perl' in spec:
options.append('--disable-perl')
if '~shared' in spec:
options.append('--enable-shared=no')
configure(*options)
make()