add ssh to the apt transports (#851)
[termux-packages] / packages / apt / methods-makefile.patch
CommitLineData
68faa04f
FF
1diff -u -r ../apt-1.1.3/methods/makefile ./methods/makefile
2--- ../apt-1.1.3/methods/makefile 2015-11-30 03:08:24.000000000 -0500
a1b579d9
FF
3+++ ./methods/makefile 2015-12-03 20:07:25.853599149 -0500
4@@ -37,30 +37,23 @@
5 SOURCE = gpgv.cc
6 include $(PROGRAM_H)
68faa04f 7
a1b579d9
FF
8-# The cdrom method
9-PROGRAM=cdrom
10-SLIBS = -lapt-pkg $(INTLLIBS)
11-LIB_MAKES = apt-pkg/makefile
12-SOURCE = cdrom.cc
13-include $(PROGRAM_H)
14-
68faa04f
FF
15 # The http method
16 PROGRAM=http
17-SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) -lresolv
18+SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
19 LIB_MAKES = apt-pkg/makefile
20 SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc server.cc
21 include $(PROGRAM_H)
22
23 # The https method
24 PROGRAM=https
25-SLIBS = -lapt-pkg -lcurl $(INTLLIBS) -lresolv
26+SLIBS = -lapt-pkg -lcurl $(INTLLIBS)
27 LIB_MAKES = apt-pkg/makefile
28 SOURCE = https.cc server.cc
29 include $(PROGRAM_H)
30
31 # The ftp method
32 PROGRAM=ftp
33-SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) -lresolv
34+SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
35 LIB_MAKES = apt-pkg/makefile
36 SOURCE = ftp.cc rfc2553emu.cc connect.cc
37 include $(PROGRAM_H)
a1b579d9 38@@ -81,7 +74,7 @@
68faa04f
FF
39
40 # The mirror method
41 PROGRAM=mirror
42-SLIBS = -lapt-pkg $(SOCKETLIBS) -lresolv
43+SLIBS = -lapt-pkg $(SOCKETLIBS)
44 LIB_MAKES = apt-pkg/makefile
45 SOURCE = mirror.cc http.cc rfc2553emu.cc connect.cc server.cc
46 include $(PROGRAM_H)