1 |
vip-ire |
1.1 |
diff -rup pptpd-1.3.4/plugins/Makefile pptpd-1.3.4-install/plugins/Makefile |
2 |
|
|
--- pptpd-1.3.4/plugins/Makefile 2006-08-02 22:02:01.000000000 -0400 |
3 |
|
|
+++ pptpd-1.3.4-install/plugins/Makefile 2011-04-07 14:29:24.377575790 -0400 |
4 |
|
|
@@ -3,7 +3,7 @@ COPTS = -O2 -g |
5 |
|
|
CFLAGS = $(COPTS) -I.. -I../../include -fPIC |
6 |
|
|
LDFLAGS = -shared |
7 |
|
|
LDADD = -lutil |
8 |
|
|
-INSTALL = install -o root |
9 |
|
|
+INSTALL = install -c |
10 |
|
|
prefix = /usr/local |
11 |
|
|
|
12 |
|
|
PLUGINS = pptpd-logwtmp.so |
13 |
|
|
@@ -18,7 +18,7 @@ all: $(PLUGINS) |
14 |
|
|
%.so: %.c |
15 |
|
|
$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD) |
16 |
|
|
|
17 |
|
|
-LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd |
18 |
|
|
+LIBDIR = $(DESTDIR)/usr/lib/pptpd |
19 |
|
|
|
20 |
|
|
install: $(PLUGINS) |
21 |
|
|
$(INSTALL) -d $(LIBDIR) |