patch-Makefile 482 B

123456789101112131415161718
  1. --- pptp-1.8.0.orig/Makefile 2013-10-23 10:10:46.000000000 +0200
  2. +++ pptp-1.8.0/Makefile 2013-12-22 11:35:12.000000000 +0100
  3. @@ -14,12 +14,13 @@ BINDIR=$(DESTDIR)/usr/sbin
  4. MANDIR=$(DESTDIR)/usr/share/man/man8
  5. PPPDIR=$(DESTDIR)/etc/ppp
  6. -CC = gcc
  7. +CC ?= gcc
  8. RM = rm -f
  9. OPTIMIZE= -O -Wuninitialized
  10. DEBUG = -g
  11. INCLUDE =
  12. -CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
  13. +CFLAGS ?=
  14. +CFLAGS += -Wall $(INCLUDE)
  15. # Solaris
  16. # CFLAGS += -D_XPG4_2 -D__EXTENSIONS__
  17. LIBS = -lutil