patch-plugins_Makefile 577 B

1234567891011121314151617181920
  1. --- pptpd-1.3.4.orig/plugins/Makefile 2006-08-03 04:02:01.000000000 +0200
  2. +++ pptpd-1.3.4/plugins/Makefile 2010-06-03 14:39:12.120974815 +0200
  3. @@ -1,6 +1,6 @@
  4. -CC = gcc
  5. +CC ?= gcc
  6. COPTS = -O2 -g
  7. -CFLAGS = $(COPTS) -I.. -I../../include -fPIC
  8. +CFLAGS ?= $(COPTS) -I.. -I../../include -fPIC
  9. LDFLAGS = -shared
  10. LDADD = -lutil
  11. INSTALL = install -o root
  12. @@ -18,7 +18,7 @@ all: $(PLUGINS)
  13. %.so: %.c
  14. $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD)
  15. -LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd
  16. +LIBDIR = $(DESTDIR)$(prefix)/lib/pptpd
  17. install: $(PLUGINS)
  18. $(INSTALL) -d $(LIBDIR)