dash: fix etc/profile hardcoded path (#2357)
[termux-packages] / disabled-packages / apt-updated / methods-cmakelist.patch
CommitLineData
f87fe8f9
FF
1diff -u -r ../apt-1.6~alpha3/methods/CMakeLists.txt ./methods/CMakeLists.txt
2--- ../apt-1.6~alpha3/methods/CMakeLists.txt 2017-10-28 17:57:05.000000000 +0200
3+++ ./methods/CMakeLists.txt 2017-11-02 17:45:55.436395981 +0100
4@@ -9,11 +9,8 @@
5 add_executable(copy copy.cc)
6 add_executable(store store.cc)
7 add_executable(gpgv gpgv.cc)
8-add_executable(cdrom cdrom.cc)
9 add_executable(http http_main.cc $<TARGET_OBJECTS:httplib> $<TARGET_OBJECTS:connectlib>)
10 add_executable(mirror mirror.cc $<TARGET_OBJECTS:httplib> $<TARGET_OBJECTS:connectlib>)
11-add_executable(ftp ftp.cc $<TARGET_OBJECTS:connectlib>)
12-add_executable(rred rred.cc)
13 add_executable(rsh rsh.cc)
14
15 target_compile_definitions(connectlib PRIVATE ${GNUTLS_DEFINITIONS})
16@@ -22,10 +19,9 @@
17 # Additional libraries to link against for networked stuff
18 target_link_libraries(http ${GNUTLS_LIBRARIES})
19 target_link_libraries(mirror ${RESOLV_LIBRARIES} ${GNUTLS_LIBRARIES})
20-target_link_libraries(ftp ${GNUTLS_LIBRARIES})
21
22 # Install the library
23-install(TARGETS file copy store gpgv cdrom http ftp rred rsh mirror
24+install(TARGETS file copy store gpgv http rsh mirror
25 RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/apt/methods)
26
27 add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods store)