distorted-utils: Currently disabled.
[termux-packages] / packages / apt / methods-cmakelist.patch
1 --- ../cache/apt-1.4.7/methods/CMakeLists.txt 2017-07-14 07:45:39.000000000 +1000
2 +++ ./methods/CMakeLists.txt 2017-07-20 09:31:59.432583795 +1000
3 @@ -7,7 +7,7 @@
4 add_executable(http http.cc http_main.cc rfc2553emu.cc connect.cc basehttp.cc)
5 add_executable(mirror mirror.cc http.cc rfc2553emu.cc connect.cc basehttp.cc)
6 add_executable(https https.cc basehttp.cc)
7 -add_executable(ftp ftp.cc rfc2553emu.cc connect.cc)
8 +# add_executable(ftp ftp.cc rfc2553emu.cc connect.cc)
9 add_executable(rred rred.cc)
10 add_executable(rsh rsh.cc)
11
12 @@ -23,12 +23,12 @@
13 target_link_libraries(http apt-pkg)
14 target_link_libraries(mirror apt-pkg ${RESOLV_LIBRARIES})
15 target_link_libraries(https apt-pkg ${CURL_LIBRARIES})
16 -target_link_libraries(ftp apt-pkg)
17 +#target_link_libraries(ftp apt-pkg)
18 target_link_libraries(rred apt-pkg)
19 target_link_libraries(rsh apt-pkg)
20
21 # Install the library
22 -install(TARGETS file copy store gpgv cdrom http https ftp rred rsh mirror
23 +install(TARGETS file copy store gpgv cdrom http https rred rsh mirror
24 RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/apt/methods)
25
26 add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods store gzip lzma bzip2 xz)