netpbm-10.66-jpeg-dirs.patch 722 B

1234567891011121314151617181920212223242526272829
  1. use same -I style as converter/other/Makefile so people can disable these
  2. --- a/converter/other/jbig/Makefile
  3. +++ b/converter/other/jbig/Makefile
  4. @@ -11,7 +11,9 @@ LIBJBIG_OBJECTS = jbig.o jbig_tab.o
  5. EXTERN_INCLUDES =
  6. ifneq ($(JBIGHDR_DIR),NONE)
  7. - EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
  8. + ifneq ($(JBIGHDR_DIR)x,x)
  9. + EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
  10. + endif
  11. endif
  12. ifneq ($(JBIGHDR_DIR),NONE)
  13. --- a/converter/other/jpeg2000/Makefile
  14. +++ b/converter/other/jpeg2000/Makefile
  15. @@ -11,7 +11,9 @@ include $(BUILDDIR)/config.mk
  16. EXTERN_INCLUDES =
  17. ifneq ($(JASPERHDR_DIR),NONE)
  18. - EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
  19. + ifneq ($(JASPERHDR_DIR)x,x)
  20. + EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
  21. + endif
  22. endif