openbsd-ports/audio/dumb/patches/patch-Makefile
phessler fc1a38efae DUMB stands for Dynamic Universal Music Bibliotheque.
Supports playback of IT, XM, S3M and MOD files.

originally from & OK landry@
2009-10-15 14:35:29 +00:00

28 lines
588 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2009/10/15 14:35:29 phessler Exp $
--- Makefile.orig Sun Aug 7 18:18:41 2005
+++ Makefile Tue Jun 2 14:17:21 2009
@@ -41,10 +41,10 @@ else
ifdef USE_SGICC
CC := cc
else
-CC := gcc
+CC ?= gcc
endif
endif
-AR := ar
+AR ?= ar
# Configuration.
@@ -231,8 +231,8 @@ DBGFLAGS := -DDEBUGMODE=1 -g3
endif
endif
-CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
-CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
+CFLAGS_RELEASE := -Iinclude ${CFLAGS} $(WFLAGS) $(OFLAGS)
+CFLAGS_DEBUG := -Iinclude ${CFLAGS} $(WFLAGS) $(DBGFLAGS)
LDFLAGS := -s