Merge branch 'alfredo-gimenez-thrift' into develop
This commit is contained in:
		| @@ -12,6 +12,8 @@ class Thrift(Package): | |||||||
|  |  | ||||||
|     version('0.9.2', '89f63cc4d0100912f4a1f8a9dee63678') |     version('0.9.2', '89f63cc4d0100912f4a1f8a9dee63678') | ||||||
|  |  | ||||||
|  |     extends("python") | ||||||
|  |  | ||||||
|     depends_on("autoconf") |     depends_on("autoconf") | ||||||
|     depends_on("automake") |     depends_on("automake") | ||||||
|     depends_on("bison") |     depends_on("bison") | ||||||
| @@ -20,15 +22,19 @@ class Thrift(Package): | |||||||
|     depends_on("jdk") |     depends_on("jdk") | ||||||
|     depends_on("libtool") |     depends_on("libtool") | ||||||
|     depends_on("openssl") |     depends_on("openssl") | ||||||
|  |     depends_on("python") | ||||||
|  |  | ||||||
|     # Compilation fails for most languages, fortunately cpp installs fine |     # Compilation fails for most languages, fortunately cpp installs fine | ||||||
|     # All other languages (yes, including C) are omitted until someone needs them |     # All other languages (yes, including C) are omitted until someone needs them | ||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix): | ||||||
|  |         env["PY_PREFIX"]   = prefix | ||||||
|  |         env["JAVA_PREFIX"] = prefix | ||||||
|  |  | ||||||
|         configure("--prefix=%s" % prefix, |         configure("--prefix=%s" % prefix, | ||||||
|                   "--with-boost=%s" % spec['boost'].prefix, |                   "--with-boost=%s" % spec['boost'].prefix, | ||||||
|                   "--with-c=no", |                   "--with-c=no", | ||||||
|                   "--with-go=no", |                   "--with-go=no", | ||||||
|                   "--with-python=no", |                   "--with-python=yes", | ||||||
|                   "--with-lua=no", |                   "--with-lua=no", | ||||||
|                   "--with-php=no", |                   "--with-php=no", | ||||||
|                   "--with-qt4=no", |                   "--with-qt4=no", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin