ports/graphics/sane-airscan/files/patch-Makefile
Henry Hu f951db5cb2 graphics/sane-airscan: New port: AirScan backend for SANE
PR:		245540
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D31918
2021-09-20 10:04:09 +02:00

21 lines
663 B
Text

--- Makefile.orig 2021-04-16 08:52:40 UTC
+++ Makefile
@@ -29,7 +29,8 @@
CC = gcc
COMPRESS = gzip -n
-CFLAGS += -O2 -g -W -Wall -Werror -pthread $(CPPFLAGS)
+CFLAGS ?= -O2 -g -W -Wall -Werror
+CFLAGS += -pthread $(CPPFLAGS)
PKG_CONFIG = pkg-config
STRIP = -s
INSTALL = install
@@ -101,7 +102,7 @@ $(OBJDIR)%.o: %.c Makefile airscan.h
.PHONY: all clean install man
-all: tags $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
+all: $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
tags: $(SRC) airscan.h test.c test-decode.c test-multipart.c test-zeroconf.c test-uri.c
-ctags -R .