summaryrefslogtreecommitdiff
path: root/audio/mpg123
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:11:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:11:19 +0000
commita6c8552742627f147eba3a452672dc017e9f22f9 (patch)
treeedb29804eb8017eadae68f2c06bab8fd3fca71f2 /audio/mpg123
parentmaintainer-update of xmbmon port. (diff)
[ maintainer ] audio/mpg123: fix build with DEFAULT_RECODE option and without esound or nas
Fix compilation error when building with DEFAULT_RECODE and without esound or nas support. PR: ports/71772 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Notes
Notes: svn path=/head/; revision=118730
Diffstat (limited to 'audio/mpg123')
-rw-r--r--audio/mpg123/Makefile1
-rw-r--r--audio/mpg123/files/patch-aa9
2 files changed, 5 insertions, 5 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 8976b8e02972..3f6ac2096023 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -60,6 +60,7 @@ PKGNAMESUFFIX= -nas
ALL_TARGET= freebsd-nas
.else
ALL_TARGET= freebsd
+CFLAGS+= -DWITH_FREEBSD_DSP_ONLY
.endif
pre-fetch:
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa
index 5127b0c8ffe4..c5f2305731ae 100644
--- a/audio/mpg123/files/patch-aa
+++ b/audio/mpg123/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Jan 31 13:43:04 2004
-+++ Makefile Sat Jan 31 13:44:35 2004
+--- Makefile.orig Wed Sep 15 21:14:24 2004
++++ Makefile Wed Sep 15 21:14:41 2004
@@ -4,13 +4,15 @@
# Where to install binary and manpage on "make install":
@@ -28,7 +28,7 @@
.if defined(WITH_ICONV)
CFLAGS+=-DWITH_ICONV -I${LOCALBASE}/include
LDFLAGS+=-L${LOCALBASE}/lib -liconv
-@@ -308,35 +313,63 @@
+@@ -308,35 +313,62 @@
.endif
.endif
@@ -79,7 +79,6 @@
- -DREAD_MMAP \
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \
+ ${MAKE} OBJECTS='${ARCHFILES} audio_oss.o term.o' \
-+ CFLAGS="${CFLAGS} -DWITH_FREEBSD_DSP_ONLY" \
mpg123-make
freebsd-esd:
@@ -113,7 +112,7 @@
$(FRONTEND)
-@@ -575,7 +608,7 @@
+@@ -575,7 +607,7 @@
@ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123
mpg123-make: