patch-Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- mgetty-1.2.1.orig/Makefile 2018-09-11 12:38:58.000000000 +0200
  2. +++ mgetty-1.2.1/Makefile 2024-02-13 16:33:13.023498839 +0100
  3. @@ -6,7 +6,7 @@
  4. # grok my code, so please use gcc there. On ISC 4.0, use "icc".).
  5. #
  6. # if you are cross-compiling, this is the C compiler for the target platform
  7. -CC=cc
  8. +CC?=cc
  9. #CC=gcc
  10. #
  11. # if you are cross-compiling, *this* needs to be the C compiler that
  12. @@ -109,7 +109,7 @@ HOSTCC=$(CC)
  13. # USTAT - ustat(), no statfs etc.
  14. #
  15. #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
  16. -CFLAGS=-Wall -O2 -pipe
  17. +CFLAGS?=-Wall -O2 -pipe
  18. #CFLAGS=-O -DSVR4
  19. #CFLAGS=-O -DSVR4 -DSVR42
  20. #CFLAGS=-O -DUSE_POLL
  21. @@ -150,7 +150,7 @@ CFLAGS=-Wall -O2 -pipe
  22. # "utmp.o: unresolved symbol _login"
  23. # For Linux, add "-lutil" if the linker complains about "updwtmp".
  24. #
  25. -LDFLAGS=
  26. +LDFLAGS?=
  27. #LIBS=
  28. #LIBS=-lprot -lsocket # SCO Unix
  29. #LIBS=-lsocket
  30. @@ -171,7 +171,8 @@ LIBS=-lutil # FreeBSD or Linux/GNU l
  31. #
  32. # if your systems doesn't have one, use the shell script that I provide
  33. # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
  34. -INSTALL=install -c -o bin -g bin
  35. +STRIP=
  36. +INSTALL=install -c -o root -g root
  37. #INSTALL=install -c -o root -g wheel # NeXT/BSD
  38. #INSTALL=/usr/ucb/install -c -o bin -g bin # AIX, Solaris 2.x
  39. #INSTALL=installbsd -c -o bin -g bin # OSF/1, AIX 4.1, 4.2