aboutsummaryrefslogtreecommitdiffstats
path: root/audio/dumb/files
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-03-14 06:42:39 +0800
committerflz <flz@FreeBSD.org>2005-03-14 06:42:39 +0800
commitab0487d53f0e3151d2c621176e74d1c83f2129f8 (patch)
tree828f41ed582538dcfc5771456b10e9ba3ce4bb0c /audio/dumb/files
parent2fb831bca78b8a2d0f01c50a8c88e3350e53e611 (diff)
downloadfreebsd-ports-gnome-ab0487d53f0e3151d2c621176e74d1c83f2129f8.tar.gz
freebsd-ports-gnome-ab0487d53f0e3151d2c621176e74d1c83f2129f8.tar.zst
freebsd-ports-gnome-ab0487d53f0e3151d2c621176e74d1c83f2129f8.zip
- Add dumb 0.9.2, an IT, XM, S3M and MOD player library
PR: ports/78118 Submitted by: Andreas Kohn <andreas@syndrom23.de>
Diffstat (limited to 'audio/dumb/files')
-rw-r--r--audio/dumb/files/config.txt4
-rw-r--r--audio/dumb/files/patch-Makefile16
2 files changed, 20 insertions, 0 deletions
diff --git a/audio/dumb/files/config.txt b/audio/dumb/files/config.txt
new file mode 100644
index 000000000000..3dc79747974c
--- /dev/null
+++ b/audio/dumb/files/config.txt
@@ -0,0 +1,4 @@
+include make/unix.inc
+ALL_TARGETS := core core-examples core-headers
+@ALLEGRO@ ALL_TARGETS += allegro allegro-examples allegro-headers
+PREFIX := @LOCALBASE@
diff --git a/audio/dumb/files/patch-Makefile b/audio/dumb/files/patch-Makefile
new file mode 100644
index 000000000000..7cf93017e641
--- /dev/null
+++ b/audio/dumb/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- Makefile.orig Sat Feb 26 15:24:14 2005
++++ Makefile Sat Feb 26 15:25:07 2005
+@@ -186,10 +186,10 @@
+ OFLAGS := -O2 -ffast-math -fomit-frame-pointer
+ DBGFLAGS := -DDEBUGMODE=1 -g3
+
+-CFLAGS_RELEASE := -Iinclude $(WFLAGS) $(OFLAGS)
+-CFLAGS_DEBUG := -Iinclude $(WFLAGS) $(DBGFLAGS)
++CFLAGS_RELEASE := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(OFLAGS)
++CFLAGS_DEBUG := -Iinclude -I$(PREFIX)/include $(WFLAGS) $(DBGFLAGS)
+
+-LDFLAGS := -s
++LDFLAGS := -s -L$(PREFIX)/lib
+
+
+ CORE_EXAMPLES_OBJ := $(addprefix examples/, $(notdir $(patsubst %.c, %.o, $(CORE_EXAMPLES))))