opnsense-ports/graphics/jbigkit/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

31 lines
778 B
Text

--- ./Makefile.orig 2014-03-27 18:47:15.000000000 +0000
+++ ./Makefile 2014-06-21 22:53:57.000000000 +0000
@@ -1,24 +1,22 @@
# 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
-CFLAGS = -O2 -W -Wno-unused-result
+CFLAGS += -W # -Wno-unused-result -- older compilers don't have this
# CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
-export CC CFLAGS
-
VERSION=2.1
all: lib pbm
@echo "Enter 'make test' in order to start some automatic tests."
lib:
- cd libjbig && $(MAKE) -e
+ cd libjbig && $(MAKE)
pbm: lib
- cd pbmtools && $(MAKE) -e
+ cd pbmtools && $(MAKE)
test: lib pbm
cd libjbig && $(MAKE) test