vcpkg/ports/libproxy/fix-install-py.patch
Alberto Garcia Illera 180c6bc92f
[libproxy] Update to 0.4.18. Enable static builds (#28282)
* update to new version of vcpkg

* format-manifest

* run x-add-version

* add support for x64-windows-static-md triplet

* run x-add-version

* remove BUILD_SHARED_LIBS

* run x-add-version

* remove WITH_KDE option

* run x-add-version

* restore -DWITH_KDE and test remiving fix-arm-build.patch

* run x-add-version

* remove arm patch and final fixes to pass CI

* run x-add-version
2022-12-12 12:18:37 -08:00

38 lines
1.7 KiB
Diff

diff --git a/bindings/perl/lib/CMakeLists.txt b/bindings/perl/lib/CMakeLists.txt
index 7c36e51..ee2c5bc 100644
--- a/bindings/perl/lib/CMakeLists.txt
+++ b/bindings/perl/lib/CMakeLists.txt
@@ -1,2 +1 @@
add_custom_target(PMlibproxy ALL ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/Libproxy.pm ${CMAKE_BINARY_DIR}/perl/Net/Libproxy.pm)
-install( FILES Libproxy.pm DESTINATION ${PX_PERL_ARCH}/Net )
diff --git a/bindings/perl/src/CMakeLists.txt b/bindings/perl/src/CMakeLists.txt
index 2800a85..c5d8e0f 100644
--- a/bindings/perl/src/CMakeLists.txt
+++ b/bindings/perl/src/CMakeLists.txt
@@ -21,5 +21,3 @@ target_link_libraries(PLlibproxy ${PLlibproxy_LIB_DEPENDENCIES})
target_compile_options(PLlibproxy PRIVATE ${PX_PERL_CCFLAGS})
set_target_properties(PLlibproxy PROPERTIES OUTPUT_NAME "Libproxy")
set_target_properties(PLlibproxy PROPERTIES PREFIX "")
-
-install( TARGETS PLlibproxy DESTINATION ${PX_PERL_ARCH}/auto/Net/Libproxy )
diff --git a/bindings/python/python2/CMakeLists.txt b/bindings/python/python2/CMakeLists.txt
index f4d2b91..a79decc 100644
--- a/bindings/python/python2/CMakeLists.txt
+++ b/bindings/python/python2/CMakeLists.txt
@@ -21,5 +21,4 @@ if(PYTHON2INTERP_FOUND)
message(STATUS "Using PYTHON2_SITEPKG_DIR=${PYTHON2_SITEPKG_DIR}")
- install(FILES ../libproxy.py DESTINATION ${PYTHON2_SITEPKG_DIR})
endif()
diff --git a/bindings/python/python3/CMakeLists.txt b/bindings/python/python3/CMakeLists.txt
index fc3b24b..a13b6b7 100644
--- a/bindings/python/python3/CMakeLists.txt
+++ b/bindings/python/python3/CMakeLists.txt
@@ -21,5 +21,4 @@ if(PYTHON3INTERP_FOUND)
message(STATUS "Using PYTHON3_SITEPKG_DIR=${PYTHON3_SITEPKG_DIR}")
- install(FILES ../libproxy.py DESTINATION ${PYTHON3_SITEPKG_DIR})
endif()