apt: Fix building with unified headers
[termux-packages] / packages / apt / cmdline-makefile.patch
1 diff -u -r ../apt-1.1.3/cmdline/makefile ./cmdline/makefile
2 --- ../apt-1.1.3/cmdline/makefile 2015-11-30 03:08:24.000000000 -0500
3 +++ ./cmdline/makefile 2015-12-03 20:09:21.860089855 -0500
4 @@ -33,13 +33,6 @@
5 SOURCE = apt-config.cc
6 include $(PROGRAM_H)
7
8 -# The apt-cdrom program
9 -PROGRAM=apt-cdrom
10 -SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
11 -LIB_MAKES = apt-pkg/makefile apt-private/makefile
12 -SOURCE = apt-cdrom.cc
13 -include $(PROGRAM_H)
14 -
15 # The apt-mark program
16 PROGRAM=apt-mark
17 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
18 @@ -49,7 +42,7 @@
19
20 # The apt-helper
21 PROGRAM=apt-helper
22 -SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) -lresolv
23 +SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
24 LIB_MAKES = apt-pkg/makefile apt-private/makefile
25 SOURCE = apt-helper.cc
26 include $(PROGRAM_H)