diff options
author | edwin <edwin@FreeBSD.org> | 2004-10-12 09:11:19 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-10-12 09:11:19 +0800 |
commit | d5787d437d8e01b44f3fa4d8d8b114ad9686d354 (patch) | |
tree | ff3db9aca4bfa9535d963ee5f507fb8ec60440d0 /audio | |
parent | c62acacc50d27228b7024596dba7f283d65c34b8 (diff) | |
download | freebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.tar.gz freebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.tar.zst freebsd-ports-gnome-d5787d437d8e01b44f3fa4d8d8b114ad9686d354.zip |
[ 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>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/Makefile | 1 | ||||
-rw-r--r-- | audio/mpg123/files/patch-aa | 9 |
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: |