]> git.pld-linux.org Git - packages/ppp.git/blame - ppp-opt-pppoe.patch
- obsolete
[packages/ppp.git] / ppp-opt-pppoe.patch
CommitLineData
a5957b3e
JB
1diff -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
c94df5ad 4@@ -1,6 +1,6 @@
2a96689e 5 CC = gcc
c94df5ad
AM
6-CFLAGS = -g -O2 -I.. -I../../include -fPIC
7-LDFLAGS = -shared
43aeaa8f 8+CFLAGS = $(OPT_FLAGS) -I.. -I../../include -fPIC
c94df5ad
AM
9+LDFLAGS += -shared
10 INSTALL = install
2a96689e 11
c94df5ad 12 all: minconn.so passprompt.so pppoe/pppoe.so
a5957b3e
JB
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
c94df5ad
AM
21
22 clean:
a5957b3e
JB
23 rm -rf *.o *.so
24diff -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
c94df5ad 27@@ -1,6 +1,6 @@
2a96689e
JB
28 CC = gcc
29-CFLAGS = -g -I.. -I../.. -I../../../include -D_linux_=1 -fPIC
c94df5ad 30-LDFLAGS = -shared
43aeaa8f 31+CFLAGS = $(OPT_FLAGS) -I.. -I../.. -I../../../include -D_linux_=1 -fPIC
c94df5ad 32+LDFLAGS += -shared
2a96689e
JB
33
34 all: pppoe.so pppoed
2a96689e 35
This page took 0.070063 seconds and 4 git commands to generate.