summaryrefslogtreecommitdiff
path: root/media-libs/netpbm/files/netpbm-10.66-jpeg-dirs.patch
blob: fcf98211ba013540b7d30f5fa1b587a54fba5a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
use same -I style as converter/other/Makefile so people can disable these

--- a/converter/other/jbig/Makefile
+++ b/converter/other/jbig/Makefile
@@ -11,7 +11,9 @@ LIBJBIG_OBJECTS = jbig.o jbig_tab.o
 
 EXTERN_INCLUDES =
 ifneq ($(JBIGHDR_DIR),NONE)
-  EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
+  ifneq ($(JBIGHDR_DIR)x,x)
+    EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
+  endif
 endif
 
 ifneq ($(JBIGHDR_DIR),NONE)
--- a/converter/other/jpeg2000/Makefile
+++ b/converter/other/jpeg2000/Makefile
@@ -11,7 +11,9 @@ include $(BUILDDIR)/config.mk
 
 EXTERN_INCLUDES =
 ifneq ($(JASPERHDR_DIR),NONE)
-  EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
+  ifneq ($(JASPERHDR_DIR)x,x)
+    EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
+  endif
 endif