patch-Makefile_inc 937 B

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-Makefile_inc,v 1.5 2017/04/22 05:34:00 jsg Exp $
  2. --- Makefile.inc.orig Sat Jul 15 05:56:54 2006
  3. +++ Makefile.inc Sat Apr 22 15:31:31 2017
  4. @@ -2,15 +2,11 @@
  5. #
  6. # Default installation directories
  7. #
  8. -PREFIX?= /usr/local
  9. -BINDIR?= ${PREFIX}/bin
  10. -LIBDIR?= ${PREFIX}/lib
  11. -.if !empty(unix:M*OpenBSD.)
  12. -MANDIR?= ${PREFIX}/man/cat
  13. -.else
  14. -MANDIR?= ${PREFIX}/man
  15. -.endif
  16. +BINDIR= ${TRUEPREFIX}/bin
  17. +LIBDIR= ${TRUEPREFIX}/lib
  18. +MANDIR= ${TRUEPREFIX}/man/man
  19. +
  20. # Name the default serial port to talk to the gps
  21. #
  22. GPS_SERIAL_PORT?= /dev/tty00
  23. @@ -28,7 +24,7 @@ SIO_TYPE?= -DSIO_TYPE=BSD
  24. # C options
  25. #
  26. CFLAGS+= -g -I${.CURDIR}/../lib
  27. -CFLAGS+= -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Werror
  28. +CFLAGS+= -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
  29. CFLAGS+= -DDEFAULT_PORT=\"${GPS_SERIAL_PORT}\" ${VERSION} ${SIO_TYPE}
  30. # Figure out where the library lives for proper dependencies