Add libxcb dependencies. Fix up packages to get py-basemap and stat to build.
This commit is contained in:
@@ -35,18 +35,19 @@ class Libxcb(Package):
|
||||
|
||||
version('1.11', '1698dd837d7e6e94d029dbe8b3a82deb')
|
||||
version('1.11.1', '118623c15a96b08622603a71d8789bf3')
|
||||
|
||||
depends_on("python")
|
||||
depends_on("xcb-proto")
|
||||
depends_on("pkg-config")
|
||||
|
||||
# depends_on('pthread') # Ubuntu: apt-get install libpthread-stubs0-dev
|
||||
# depends_on('xau') # Ubuntu: apt-get install libxau-dev
|
||||
depends_on("libpthread-stubs")
|
||||
depends_on('libxau')
|
||||
|
||||
def patch(self):
|
||||
filter_file('typedef struct xcb_auth_info_t {', 'typedef struct {', 'src/xcb.h')
|
||||
|
||||
|
||||
def install(self, spec, prefix):
|
||||
env['PKG_CONFIG_PATH'] = env['PKG_CONFIG_PATH'] + ':/usr/lib64/pkgconfig'
|
||||
configure("--prefix=%s" % prefix)
|
||||
|
||||
make()
|
||||
|
Reference in New Issue
Block a user