freebsd-ports/graphics/grafx2/files/patch-Makefile
Emanuel Haupt 2258f28656 Add grafx2, a bitmap paint program that supports more than 60 video
resolutions.

Additional patches from:	dinoex
2009-03-04 17:53:46 +00:00

14 lines
604 B
Text

--- ./Makefile.orig 2009-02-23 14:20:42.000000000 +0100
+++ ./Makefile 2009-02-23 14:20:42.000000000 +0100
@@ -169,9 +169,9 @@
# Compiles a regular linux exectutable for the native platform
BIN = grafx2
CFGBIN = gfxcfg
- COPT = -W -Wall -Wdeclaration-after-statement -pedantic -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT)
+ COPT = $(CFLAGS) -pedantic -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT)
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT)
- CC = gcc
+ CC ?= gcc
OBJDIR = obj/unix
X11LOPT = -lX11
endif