+ Provide a ~perl variant to support building on systems w/o the perl-devel
package installed.
This commit is contained in:
parent
3214cd0d56
commit
1f8d79b69a
@ -8,7 +8,6 @@ class Graphviz(Package):
|
|||||||
version('2.38.0', '5b6a829b2ac94efcd5fa3c223ed6d3ae')
|
version('2.38.0', '5b6a829b2ac94efcd5fa3c223ed6d3ae')
|
||||||
|
|
||||||
variant('perl', default=True, description='Disable if you have problems with the optional script language bindings')
|
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
|
parallel = False
|
||||||
|
|
||||||
@ -20,8 +19,6 @@ def install(self, spec, prefix):
|
|||||||
options = ['--prefix=%s' % prefix]
|
options = ['--prefix=%s' % prefix]
|
||||||
if '~perl' in spec:
|
if '~perl' in spec:
|
||||||
options.append('--disable-perl')
|
options.append('--disable-perl')
|
||||||
if '~shared' in spec:
|
|
||||||
options.append('--enable-shared=no')
|
|
||||||
|
|
||||||
configure(*options)
|
configure(*options)
|
||||||
make()
|
make()
|
||||||
|
Loading…
Reference in New Issue
Block a user