[packages/hhvm] ensure clean third party

glen glen at pld-linux.org
Wed Nov 19 15:58:18 CET 2014


commit 40280c0cbcc1eb187e835c91a50ab1cdfa4e9af8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 19 09:45:53 2014 +0200

    ensure clean third party

 hhvm.spec | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/hhvm.spec b/hhvm.spec
index 657e229..438eab5 100644
--- a/hhvm.spec
+++ b/hhvm.spec
@@ -250,6 +250,16 @@ rm CMake/FindBISON.cmake
 rm CMake/FindFLEX.cmake
 rm CMake/FindFreetype.cmake
 
+# ensure system libs get used
+cd third-party
+rm -r pcre \
+	%{?with_system_sqlite:libsqlite3} \
+	%{?with_system_lz4:lz4} \
+	%{?with_system_dconv:double-conversion} \
+	%{?with_system_fastlz:fastlz} \
+	%{?with_system_libafdt:libafdt} \
+	%{nil}
+
 %build
 # also in: hphp/tools/hphpize/hphpize.cmake
 API=$(awk '/#define HHVM_API_VERSION/{v=$3; sub(/L$/, "", v); print v}' hphp/runtime/ext/extension.h)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hhvm.git/commitdiff/c19fc9d96a201bee8a2bb4f6cd391bfea7224b67



More information about the pld-cvs-commit mailing list