summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-10 12:24:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-10 12:24:35 +0000
commit9086a09cb88df5b8c529c72b3a7b744eb9b57780 (patch)
treee17096ac4c6c0b10b6d1d9dbfb7a702c8d6fd147 /media-libs/jbigkit/files
parentMarked Stable on amd64. (diff)
downloadgentoo-2-9086a09cb88df5b8c529c72b3a7b744eb9b57780.tar.gz
gentoo-2-9086a09cb88df5b8c529c72b3a7b744eb9b57780.tar.bz2
gentoo-2-9086a09cb88df5b8c529c72b3a7b744eb9b57780.zip
Added patch to respect the $(MAKE) variable. Use the right compiler for current arch to build with newer compiler-config.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'media-libs/jbigkit/files')
-rw-r--r--media-libs/jbigkit/files/jbigkit-1.6-respect-make.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/jbigkit/files/jbigkit-1.6-respect-make.patch b/media-libs/jbigkit/files/jbigkit-1.6-respect-make.patch
new file mode 100644
index 000000000000..46d4107a5690
--- /dev/null
+++ b/media-libs/jbigkit/files/jbigkit-1.6-respect-make.patch
@@ -0,0 +1,30 @@
+Index: jbigkit/Makefile
+===================================================================
+--- jbigkit.orig/Makefile
++++ jbigkit/Makefile
+@@ -16,19 +16,19 @@ all: lib pbm
+ @echo "Enter 'make test' in order to start some automatic tests."
+
+ lib:
+- (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
++ (cd libjbig; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)")
+
+ pbm: lib
+- (cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
++ (cd pbmtools; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)")
+
+ test: lib pbm
+- (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)
+- (cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)
++ (cd libjbig; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)
++ (cd pbmtools; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" test)
+
+ clean:
+ rm -f *~ core
+- (cd libjbig; make clean)
+- (cd pbmtools; make clean)
++ (cd libjbig; $(MAKE) clean)
++ (cd pbmtools; $(MAKE) clean)
+
+ distribution: clean
+ rm -f libjbig/libjbig.a