Merge pull request #708 from adamjstewart/fixes/qt
Prevent use of system GTK+
This commit is contained in:
commit
999dda8f83
@ -101,7 +101,7 @@ def patch(self):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def common_config_args(self):
|
def common_config_args(self):
|
||||||
return [
|
config_args = [
|
||||||
'-prefix', self.prefix,
|
'-prefix', self.prefix,
|
||||||
'-v',
|
'-v',
|
||||||
'-opensource',
|
'-opensource',
|
||||||
@ -115,7 +115,16 @@ def common_config_args(self):
|
|||||||
'-no-openvg',
|
'-no-openvg',
|
||||||
'-no-pch',
|
'-no-pch',
|
||||||
# NIS is deprecated in more recent glibc
|
# NIS is deprecated in more recent glibc
|
||||||
'-no-nis']
|
'-no-nis'
|
||||||
|
]
|
||||||
|
|
||||||
|
if '+gtk' in self.spec:
|
||||||
|
config_args.append('-gtkstyle')
|
||||||
|
else:
|
||||||
|
config_args.append('-no-gtkstyle')
|
||||||
|
|
||||||
|
return config_args
|
||||||
|
|
||||||
# Don't disable all the database drivers, but should
|
# Don't disable all the database drivers, but should
|
||||||
# really get them into spack at some point.
|
# really get them into spack at some point.
|
||||||
|
|
||||||
@ -128,8 +137,7 @@ def configure(self):
|
|||||||
'-thread',
|
'-thread',
|
||||||
'-shared',
|
'-shared',
|
||||||
'-release',
|
'-release',
|
||||||
'-fast'
|
'-fast')
|
||||||
)
|
|
||||||
|
|
||||||
@when('@4')
|
@when('@4')
|
||||||
def configure(self):
|
def configure(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user