darwin: explicitly use the 'when=' kwarg
This commit is contained in:
@@ -39,7 +39,7 @@ class Glib(Package):
|
||||
depends_on("libffi")
|
||||
depends_on("zlib")
|
||||
depends_on("pkg-config")
|
||||
depends_on('gettext', sys.platform == 'darwin')
|
||||
depends_on('gettext', when=sys.platform == 'darwin')
|
||||
|
||||
# The following patch is needed for gcc-6.1
|
||||
patch('g_date_strftime.patch')
|
||||
|
Reference in New Issue
Block a user