patch-Makefile.orig 764 B

1234567891011121314151617181920212223242526
  1. --- transproxy-1.6.orig/Makefile 2004-03-31 14:19:34.000000000 +0200
  2. +++ transproxy-1.6/Makefile 2012-10-23 11:07:54.000000000 +0200
  3. @@ -64,17 +64,17 @@ OPTIONS += -DIPTABLES
  4. #OPTIONS += -DHAVE_GETOPT_H
  5. # You may need to touch PREFIX, CC and CFLAGS.
  6. -PREFIX = /usr/local
  7. -INSTALL_PROGRAM = install -c -m 555 -o bin -g bin
  8. -INSTALL_MAN = install -c -m 444 -o bin -g bin
  9. +PREFIX ?= $(DESTDIR)/usr
  10. +INSTALL_PROGRAM = install -c -m 555
  11. +INSTALL_MAN = install -c -m 444
  12. # Some make's don't define this.
  13. RM = rm -f
  14. # Should be OK for GNU gcc.
  15. -CC = gcc
  16. -CFLAGS = -O2 -Wall
  17. -LDFLAGS = -s
  18. +CC ?= gcc
  19. +CFLAGS ?= -O2 -Wall
  20. +LDFLAGS ?= -s
  21. # For using BIND resolver instead of system resolver.
  22. #LIBS += -lresolv # Really old Linux has this.