diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 2000-01-31 09:38:53 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2000-01-31 09:38:53 +0000 |
commit | d6c9acec8d314c0cb2524f0af217954c939f80e7 (patch) | |
tree | a76e3c63cbfaca9b4d001f4dec7f1c541d4273cb /audio/mpg123 | |
parent | eb6e784ef5344b65af26825211a1d42f4f63a473 (diff) | |
download | ports-d6c9acec8d314c0cb2524f0af217954c939f80e7.tar.gz ports-d6c9acec8d314c0cb2524f0af217954c939f80e7.zip |
Notes
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/files/patch-aa | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa index ee4d2719679c..e9daa5475a2c 100644 --- a/audio/mpg123/files/patch-aa +++ b/audio/mpg123/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Jun 15 16:39:06 1999 -+++ Makefile Sat Jan 15 15:54:59 2000 -@@ -4,7 +4,7 @@ +--- Makefile.orig Wed Feb 2 03:34:45 2000 ++++ Makefile Wed Feb 2 03:36:53 2000 +@@ -4,13 +4,15 @@ # Where to install binary and manpage on "make install": @@ -9,9 +9,18 @@ BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/man SECTION=1 -@@ -285,35 +285,51 @@ - #CFLAGS='-DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' - #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' + + # Enable the below line If your plathome support IPv6 +-#CFLAGS+= -DINET6 ++.if defined(USE_INET6) ++CFLAGS+= -DINET6 ++.endif + # Additional LIBDIR and libraries if exist + IPV6LIBDIR= + IPV6LIB= +@@ -300,35 +302,49 @@ + #CFLAGS='$(CFLAGS) -DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' + #CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' +CC ?= cc +LDFLAGS = @@ -31,12 +40,11 @@ + ${INSTALL} ./precompiled/linux-i386/dct64_3dnow.o . +decode_3dnow.o: + ${INSTALL} ./precompiled/linux-i386/decode_3dnow.o . -+ +.endif +.endif + +CFLAGS +=-Wall -ansi -pedantic -fomit-frame-pointer \ -+ -ffast-math -DROT_I386 \ ++ -funroll-all-loops -ffast-math -DROT_I386 \ + -DREAD_MMAP \ + -DI386_ASSEM ${ARCHOPT} -DREAL_IS_FLOAT -DUSE_MMAP -DOSS -DTERM_CONTROL + @@ -48,26 +56,24 @@ freebsd: - $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DREAD_MMAP \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ -- mpg123-make -+ ${MAKE} OPT_ARCH=${OPT_ARCH} \ -+ OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o term.o' \ -+ mpg123-make ++ ${MAKE} OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o term.o' \ + mpg123-make freebsd-esd: - $(MAKE) CC=cc LDFLAGS= \ - AUDIO_LIB='-lesd -laudiofile' \ - OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_esd.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DREAD_MMAP \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \ - -I/usr/local/include -L/usr/local/lib \ - $(CFLAGS)' \ -+ $(MAKE) OPT_ARCH=${OPT_ARCH} AUDIO_LIB='-lesd -laudiofile' \ ++ $(MAKE) AUDIO_LIB='-lesd -laudiofile' \ + OBJECTS='decode_i386.o ${ARCHFILES} audio_esd.o term.o' \ mpg123-make @@ -76,14 +82,14 @@ - OBJECTS='decode_i386.o dct64_i386.o audio_oss.o \ + $(MAKE) OBJECTS='decode_i386.o ${ARCHFILES} audio_oss.o \ control_sajber.o control_tk3play.o' \ -- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DFRONTEND \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ $(FRONTEND) -@@ -552,7 +568,7 @@ +@@ -567,7 +583,7 @@ @ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123 mpg123-make: |