$OpenBSD: patch-libfsemu_Makefile,v 1.2 2012/12/20 22:29:32 edd Exp $

Missing libpng flags. Strip hardcoded CFLAGS

--- libfsemu/Makefile.orig	Fri Oct 26 17:28:39 2012
+++ libfsemu/Makefile	Tue Dec 18 21:28:36 2012
@@ -36,7 +36,7 @@ warnings = -Wall
 errors = -Werror=implicit-function-declaration
 cppflags = $(CXXFLAGS)
 cflags = -std=c99 $(warnings) $(errors) -Iinclude \
-		`sdl-config --cflags` `pkg-config --cflags glib-2.0` \
+		`sdl-config --cflags` `pkg-config --cflags glib-2.0 libpng` \
 		$(CFLAGS) -D_FILE_OFFSET_BITS=64
 objects = obj/emu_emu.o obj/emu_video.o obj/emu_audio.o obj/emu_input.o \
 		obj/emu_menu.o obj/emu_texture.o obj/emu_font.o \
@@ -53,12 +53,6 @@ objects = obj/emu_emu.o obj/emu_video.o obj/emu_audio.
 
 ldflags = $(LDFLAGS)
 libs =
-
-ifeq ($(debug), 1)
-	cflags += -g -O0 -fno-inline
-else ifneq ($(noflags), 1)
-	cflags += -g -O2
-endif
 
 ifeq ($(os), windows)
 
