diff options
author | vanilla <vanilla@FreeBSD.org> | 1998-11-16 16:19:01 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1998-11-16 16:19:01 +0000 |
commit | a8c5d84032873a2816a54ce8e71d33771e8ce093 (patch) | |
tree | 9f64efe00490340a874817a17cd45732aca3d840 /audio/mpg123 | |
parent | a8d3b4efc8e50cb4309dfcc519d819a42ef5974b (diff) | |
download | FreeBSD-ports-a8c5d84032873a2816a54ce8e71d33771e8ce093.zip FreeBSD-ports-a8c5d84032873a2816a54ce8e71d33771e8ce093.tar.gz |
Add a define(READ_MMAP) from gqmpeg's README,
use system's CFLAG now.
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/files/patch-aa | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa index 69fda0e..f96219f 100644 --- a/audio/mpg123/files/patch-aa +++ b/audio/mpg123/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Sun Feb 8 18:23:04 1998 -+++ Makefile Sat Oct 3 17:37:02 1998 +--- Makefile.orig Mon Feb 9 02:23:04 1998 ++++ Makefile Sat Nov 14 22:58:27 1998 @@ -21,6 +21,7 @@ @echo "" @echo "make linux-help Linux, more help" @@ -8,21 +8,25 @@ @echo "make solaris Solaris 2.x (tested: 2.5 and 2.5.1) using SparcWorks cc" @echo "make solaris-gcc Solaris 2.x using GNU cc (somewhat slower)" @echo "make sunos SunOS 4.x (tested: 4.1.4)" -@@ -145,6 +146,14 @@ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ - mpg123-make - -+freebsd-elf: -+ $(MAKE) CC=cc LDFLAGS= \ -+ OBJECTS='decode_i386.o dct64_i386.o getbits.o audio_oss.o' \ -+ CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ -+ -funroll-all-loops -ffast-math -DROT_I386 \ +@@ -140,8 +141,16 @@ + freebsd: + $(MAKE) CC=cc LDFLAGS= \ + OBJECTS='decode_i386.o dct64_i386.o getbits_.o audio_oss.o' \ +- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- -funroll-all-loops -ffast-math -DROT_I386 \ ++ CFLAGS+='-Wall -ansi -pedantic -fomit-frame-pointer \ ++ -funroll-all-loops -ffast-math -DROT_I386 -DREAD_MMAP \ + -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ + mpg123-make + - solaris: - $(MAKE) CC=cc LDFLAGS='-lsocket -lnsl' \ - OBJECTS='decode.o dct64.o audio_sun.o' \ ++freebsd-elf: ++ $(MAKE) CC=cc LDFLAGS= \ ++ OBJECTS='decode_i386.o dct64_i386.o getbits.o audio_oss.o' \ ++ CFLAGS='-Wall -ansi -pedantic -fomit-frame-pointer \ ++ -funroll-all-loops -ffast-math -DROT_I386 -DREAD_MMAP \ + -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ + mpg123-make + @@ -251,7 +260,7 @@ @ $(MAKE) BINNAME=mpg123m mpg123 |