1 diff -Naur capi4k-utils.orig/capi20/Makefile.in capi4k-utils/capi20/Makefile.in
2 --- capi4k-utils.orig/capi20/Makefile.in 2004-12-21 17:45:25.000000000 +0100
3 +++ capi4k-utils/capi20/Makefile.in 2004-12-22 20:44:32.481754152 +0100
6 libcapi20_la_OBJECTS = capi20.lo capifunc.lo convert.lo
8 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
9 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIC
10 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
12 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
16 libcapi20.la: $(libcapi20_la_OBJECTS) $(libcapi20_la_DEPENDENCIES)
17 - $(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
18 + $(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_CFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
20 install-includeHEADERS: $(include_HEADERS)
22 diff -Naur capi4k-utils.orig/Makefile capi4k-utils/Makefile
23 --- capi4k-utils.orig/Makefile 2004-12-21 17:45:25.000000000 +0100
24 +++ capi4k-utils/Makefile 2004-12-22 20:44:47.104531152 +0100
26 @set -e; for i in `echo $(SUBDIRS)`; do \
27 if [ -x $$i/configure ] ; then \
28 echo -e "\nRunning configure in $$i ...\n"; sleep 1; \
29 - (cd $$i; ./configure --sbindir=$(CONFIG_SBINDIR) --bindir=$(CONFIG_BINDIR) --mandir=$(CONFIG_MANDIR) || $(MAKE) -C ../ ERRDIR=$$i cfgerror); \
30 + (cd $$i; ./configure --sbindir=$(CONFIG_SBINDIR) --bindir=$(CONFIG_BINDIR) --mandir=$(CONFIG_MANDIR) --libdir=$(CONFIG_LIBDIR) || $(MAKE) -C ../ ERRDIR=$$i cfgerror); \
31 elif [ -f $$i/Makefile.in ] ; then \
32 echo -e "\nRunning make -f Makefile.in config in $$i ...\n"; sleep 1; \
33 $(MAKE) -C $$i -f Makefile.in config; \
34 diff -Naur capi4k-utils.orig/pppdcapiplugin/ppp-2.4.2/Makefile capi4k-utils/pppdcapiplugin/ppp-2.4.2/Makefile
35 --- capi4k-utils.orig/pppdcapiplugin/ppp-2.4.2/Makefile 2004-12-21 17:45:25.000000000 +0100
36 +++ capi4k-utils/pppdcapiplugin/ppp-2.4.2/Makefile 2004-12-22 20:44:47.104531152 +0100
38 # as published by the Free Software Foundation; either version
39 # 2 of the License, or (at your option) any later version.
41 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
42 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
44 include $(TOPDIR)/Rules.make
46 diff -Naur capi4k-utils.orig/pppdcapiplugin/Rules.make capi4k-utils/pppdcapiplugin/Rules.make
47 --- capi4k-utils.orig/pppdcapiplugin/Rules.make 2004-12-21 17:45:25.000000000 +0100
48 +++ capi4k-utils/pppdcapiplugin/Rules.make 2004-12-22 20:44:32.481754152 +0100
52 capiplugin.so: capiplugin.o capiconn.o
53 - $(CC) -o $@ $(LDFLAGS) capiplugin.o capiconn.o -lcapi20dyn
54 + $(CC) -o $@ $(LDFLAGS) $(CFLAGS) capiplugin.o capiconn.o -lcapi20dyn
56 userpass.so: userpass.o
57 $(CC) -o $@ $(LDFLAGS) $(CFLAGS) -nostdlib userpass.o
58 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/Makefile.template ./pppdcapiplugin/Makefile.template
59 --- ../capi4k-utils.orig/pppdcapiplugin/Makefile.template 2001-05-01 14:43:49.000000000 +0200
60 +++ ./pppdcapiplugin/Makefile.template 2011-02-19 22:45:36.613077158 +0100
62 # as published by the Free Software Foundation; either version
63 # 2 of the License, or (at your option) any later version.
65 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
66 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
68 include $(TOPDIR)/Rules.make
70 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.3.11/Makefile ./pppdcapiplugin/ppp-2.3.11/Makefile
71 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.3.11/Makefile 2001-05-01 14:43:49.000000000 +0200
72 +++ ./pppdcapiplugin/ppp-2.3.11/Makefile 2011-02-19 22:45:36.609744073 +0100
74 # as published by the Free Software Foundation; either version
75 # 2 of the License, or (at your option) any later version.
77 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
78 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
80 include $(TOPDIR)/Rules.make
82 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.0/Makefile ./pppdcapiplugin/ppp-2.4.0/Makefile
83 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.0/Makefile 2001-05-01 14:43:50.000000000 +0200
84 +++ ./pppdcapiplugin/ppp-2.4.0/Makefile 2011-02-19 22:45:36.616410243 +0100
86 # as published by the Free Software Foundation; either version
87 # 2 of the License, or (at your option) any later version.
89 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
90 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
92 include $(TOPDIR)/Rules.make
94 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1/Makefile ./pppdcapiplugin/ppp-2.4.1/Makefile
95 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1/Makefile 2001-05-01 14:43:50.000000000 +0200
96 +++ ./pppdcapiplugin/ppp-2.4.1/Makefile 2011-02-19 22:45:36.619743328 +0100
98 # as published by the Free Software Foundation; either version
99 # 2 of the License, or (at your option) any later version.
101 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
102 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
104 include $(TOPDIR)/Rules.make
106 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1b1/Makefile ./pppdcapiplugin/ppp-2.4.1b1/Makefile
107 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1b1/Makefile 2001-05-01 14:43:51.000000000 +0200
108 +++ ./pppdcapiplugin/ppp-2.4.1b1/Makefile 2011-02-19 22:45:36.623076413 +0100
110 # as published by the Free Software Foundation; either version
111 # 2 of the License, or (at your option) any later version.
113 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
114 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
116 include $(TOPDIR)/Rules.make
118 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1b2/Makefile ./pppdcapiplugin/ppp-2.4.1b2/Makefile
119 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.1b2/Makefile 2001-05-01 14:43:52.000000000 +0200
120 +++ ./pppdcapiplugin/ppp-2.4.1b2/Makefile 2011-02-19 22:45:36.626409498 +0100
122 # as published by the Free Software Foundation; either version
123 # 2 of the License, or (at your option) any later version.
125 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
126 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
128 include $(TOPDIR)/Rules.make
130 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.2b3/Makefile ./pppdcapiplugin/ppp-2.4.2b3/Makefile
131 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.2b3/Makefile 2003-05-18 22:11:15.000000000 +0200
132 +++ ./pppdcapiplugin/ppp-2.4.2b3/Makefile 2011-02-19 22:45:36.586412480 +0100
134 # as published by the Free Software Foundation; either version
135 # 2 of the License, or (at your option) any later version.
137 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
138 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
140 include $(TOPDIR)/Rules.make
142 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.3/Makefile ./pppdcapiplugin/ppp-2.4.3/Makefile
143 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.3/Makefile 2004-12-13 23:05:14.000000000 +0100
144 +++ ./pppdcapiplugin/ppp-2.4.3/Makefile 2011-02-19 22:45:36.626409498 +0100
146 # as published by the Free Software Foundation; either version
147 # 2 of the License, or (at your option) any later version.
149 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
150 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
152 include $(TOPDIR)/Rules.make
154 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.4/Makefile ./pppdcapiplugin/ppp-2.4.4/Makefile
155 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.4/Makefile 2011-02-19 22:45:02.235639872 +0100
156 +++ ./pppdcapiplugin/ppp-2.4.4/Makefile 2011-02-19 22:45:36.629742583 +0100
158 # as published by the Free Software Foundation; either version
159 # 2 of the License, or (at your option) any later version.
161 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
162 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
164 include $(TOPDIR)/Rules.make
166 diff -r -u ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.5/Makefile ./pppdcapiplugin/ppp-2.4.5/Makefile
167 --- ../capi4k-utils.orig/pppdcapiplugin/ppp-2.4.5/Makefile 2011-02-19 22:45:02.242306040 +0100
168 +++ ./pppdcapiplugin/ppp-2.4.5/Makefile 2011-02-19 22:45:36.633075668 +0100
170 # as published by the Free Software Foundation; either version
171 # 2 of the License, or (at your option) any later version.
173 -PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
174 +PLUGINDIR=${DESTDIR}/usr/lib64/pppd/$(PPPVERSION)
176 include $(TOPDIR)/Rules.make