summaryrefslogtreecommitdiff
path: root/graphics/jbigkit/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jbigkit/patches/patch-Makefile')
-rw-r--r--graphics/jbigkit/patches/patch-Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/jbigkit/patches/patch-Makefile b/graphics/jbigkit/patches/patch-Makefile
index 95d054ceb74..5b8a1d445a2 100644
--- a/graphics/jbigkit/patches/patch-Makefile
+++ b/graphics/jbigkit/patches/patch-Makefile
@@ -1,17 +1,19 @@
-$NetBSD: patch-Makefile,v 1.1 2014/03/01 06:58:41 obache Exp $
+$NetBSD: patch-Makefile,v 1.2 2014/04/10 12:04:16 obache Exp $
* prevent to overwrite our CC/CFLAGS settings
---- Makefile.orig 2008-08-30 20:40:22.000000000 +0000
+--- Makefile.orig 2014-03-27 18:47:15.000000000 +0000
+++ Makefile
-@@ -3,8 +3,8 @@
+@@ -1,10 +1,10 @@
+ # Unix makefile for JBIG-KIT
# Select an ANSI/ISO C compiler here, GNU gcc is recommended
-CC = gcc
+CC ?= gcc
# Options for the compiler: A high optimization level is suggested
--CCFLAGS = -O2 -W
-+CCFLAGS = -W
- #CCFLAGS = -O -g -W -Wall -ansi -pedantic #-DDEBUG # developer only
+-CFLAGS = -O2 -W -Wno-unused-result
++CFLAGS ?= -O2 -W -Wno-unused-result
+ # CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
+ export CC CFLAGS