]> git.pld-linux.org Git - packages/ppp.git/blob - ppp-opt-pppoe.patch
- Fixed srcs md5dum; bad urls removed
[packages/ppp.git] / ppp-opt-pppoe.patch
1 diff -Nur ppp-2.4.1.orig/pppd/plugins/Makefile.linux ppp-2.4.1/pppd/plugins/Makefile.linux
2 --- ppp-2.4.1.orig/pppd/plugins/Makefile.linux  Tue Jun 12 16:58:26 2001
3 +++ ppp-2.4.1/pppd/plugins/Makefile.linux       Tue Jun 12 16:57:49 2001
4 @@ -1,6 +1,6 @@
5  CC     = gcc
6 -CFLAGS = -g -O2 -I.. -I../../include -fPIC
7 -LDFLAGS        = -shared
8 +CFLAGS = $(OPT_FLAGS) -I.. -I../../include -fPIC
9 +LDFLAGS        += -shared
10  INSTALL        = install
11  
12  all:   minconn.so passprompt.so pppoe/pppoe.so
13 @@ -18,8 +18,8 @@
14  
15  install: minconn.so passprompt.so pppoe/pppoe.so
16         version=`awk -F '"' '/VERSION/ { print $$2; }' ../patchlevel.h`; \
17 -       $(INSTALL) -d $(LIBDIR)/$$version; \
18 -       $(INSTALL) $? $(LIBDIR)/$$version
19 +       $(INSTALL) -d $(DESTDIR)$(LIBDIR)/$$version; \
20 +       $(INSTALL) $? $(DESTDIR)$(LIBDIR)/$$version
21  
22  clean:
23         rm -rf *.o *.so
24 diff -Nur ppp-2.4.1.orig/pppd/plugins/pppoe/Makefile.linux ppp-2.4.1/pppd/plugins/pppoe/Makefile.linux
25 --- ppp-2.4.1.orig/pppd/plugins/pppoe/Makefile.linux    Tue Jun 12 16:56:19 2001
26 +++ ppp-2.4.1/pppd/plugins/pppoe/Makefile.linux Tue Jun 12 16:57:49 2001
27 @@ -1,6 +1,6 @@
28  CC     = gcc
29 -CFLAGS = -g  -I.. -I../.. -I../../../include -D_linux_=1 -fPIC
30 -LDFLAGS        = -shared
31 +CFLAGS = $(OPT_FLAGS)  -I.. -I../.. -I../../../include -D_linux_=1 -fPIC
32 +LDFLAGS        += -shared
33  
34  all: pppoe.so pppoed
35  
This page took 0.023085 seconds and 3 git commands to generate.