freebsd-ports/print/ft2demos/files/patch-Makefile
Muhammad Moinur Rahman e64cef943a print/ft2demos: Update version 2.6.3=>2.7.1
- Fix variable assignment(!=) by symlink to freetype source
- Add one more master site
- Fix clang warning

PR:		218216
Submitted by:	citrin+pr@citrin.ru
2017-04-08 20:16:43 +00:00

14 lines
399 B
Text

--- Makefile.orig 2017-03-29 16:20:30 UTC
+++ Makefile
@@ -136,11 +136,9 @@ else
# Enable C99 for gcc to avoid warnings.
# Note that clang++ aborts with an error if we use `-std=C99',
# so check for `++' in $(CC) also.
- ifneq ($(findstring -pedantic,$(COMPILE)),)
ifeq ($(findstring ++,$(CC)),)
COMPILE += -std=c99
endif
- endif
FTLIB := $(LIB_DIR)/$(LIBRARY).$A