diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2000-01-26 15:37:49 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2000-01-26 15:37:49 +0800 |
commit | 76eeac34275c9c7716871f7be3e784f0d39d4f3e (patch) | |
tree | f00ce39eb0c4f37c005072babc9b7478dd4298fd /audio/mpg123/files | |
parent | d051cde2a8a8ad63450a82782fcbb1deff7be045 (diff) | |
download | freebsd-ports-gnome-76eeac34275c9c7716871f7be3e784f0d39d4f3e.tar.gz freebsd-ports-gnome-76eeac34275c9c7716871f7be3e784f0d39d4f3e.tar.zst freebsd-ports-gnome-76eeac34275c9c7716871f7be3e784f0d39d4f3e.zip |
Support IPv6.
No response from: maintainer
Diffstat (limited to 'audio/mpg123/files')
-rw-r--r-- | audio/mpg123/files/patch-aa | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa index a4c7c77010fd..af38385d757e 100644 --- a/audio/mpg123/files/patch-aa +++ b/audio/mpg123/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Wed Jun 16 02:09:06 1999 -+++ Makefile Thu Nov 11 10:21:40 1999 -@@ -4,7 +4,7 @@ +--- Makefile.orig Tue Jan 11 05:17:23 2000 ++++ Makefile Tue Jan 11 05:18:07 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,42 @@ - #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,42 @@ + #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 = @@ -40,19 +49,18 @@ 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} OBJECTS='decode_i386.o ${ARCHFILES} dct64_i386.o audio_oss.o term.o' \ -+ mpg123-make + 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 \ @@ -67,14 +75,14 @@ - OBJECTS='decode_i386.o dct64_i386.o audio_oss.o \ + $(MAKE) OBJECTS='decode_i386.o ${ARCHFILES} dct64_i386.o 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 +559,7 @@ +@@ -567,7 +576,7 @@ @ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123 mpg123-make: |