patch-Makefile 426 B

123456789101112131415161718
  1. $OpenBSD: patch-Makefile,v 1.7 2016/02/27 12:43:29 jasper Exp $
  2. --- Makefile.orig Sat Feb 13 14:27:27 2016
  3. +++ Makefile Sat Feb 27 13:42:40 2016
  4. @@ -295,6 +295,13 @@ ifdef ENABLE_NLS
  5. endif
  6. endif
  7. +ifeq (openbsd,$(D2U_OS))
  8. +ifdef ENABLE_NLS
  9. + CFLAGS_OS = -I${LOCALBASE}/include
  10. + LDFLAGS_EXTRA = -lintl -L${LOCALBASE}/lib
  11. +endif
  12. +endif
  13. +
  14. ifeq (darwin,$(D2U_OS))
  15. ifdef ENABLE_NLS
  16. CFLAGS_OS = -I/usr/local/include