Fix compile issues with new libpng versions and qt3 builds by using an older version of libpng. In libpng, make older versions available.
This commit is contained in:
@@ -29,7 +29,8 @@ class Qt(Package):
|
||||
depends_on("zlib")
|
||||
depends_on("dbus", when='@4:')
|
||||
depends_on("libtiff")
|
||||
depends_on("libpng")
|
||||
depends_on("libpng@1.2.56", when='@3')
|
||||
depends_on("libpng", when='@4:')
|
||||
depends_on("libmng")
|
||||
depends_on("jpeg")
|
||||
|
||||
@@ -120,6 +121,8 @@ def common_config_args(self):
|
||||
|
||||
@when('@3')
|
||||
def configure(self):
|
||||
# An user report that this was necessary to link Qt3 on ubuntu
|
||||
os.environ['LD_LIBRARY_PATH'] = os.getcwd()+'/lib'
|
||||
configure('-prefix', self.prefix,
|
||||
'-v',
|
||||
'-thread',
|
||||
|
Reference in New Issue
Block a user