patch-src_Makefile 602 B

123456789101112131415
  1. $OpenBSD: patch-src_Makefile,v 1.3 2017/02/27 20:50:32 naddy Exp $
  2. --- src/Makefile.orig Tue Nov 1 15:27:37 2016
  3. +++ src/Makefile Mon Feb 27 21:48:46 2017
  4. @@ -15,8 +15,8 @@ INCS := -I/opt/local/include
  5. CFLAGS += $(INCS) -Wall -std=gnu99 -D_GNU_SOURCE=1 -D_THREAD_SAFE -DOSX -O2
  6. else
  7. LIBS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer)
  8. -INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer)
  9. -CFLAGS += $(INCS) -Wall -std=gnu99 -O2
  10. +INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer) -I${LOCALBASE}/include
  11. +CFLAGS += $(INCS) -Wall -std=gnu99
  12. endif
  13. all: $(BIN)