summaryrefslogtreecommitdiff
path: root/audio/mpg123
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-03 15:25:14 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-03 15:25:14 +0000
commitc9c085d3a726dbf05f2e5d39545660bdd952c4f7 (patch)
treecd8c318e1bdea4d6fbf9d05149a5b192ab1be8a3 /audio/mpg123
parentfd9408f0d2da7d6aeb4c2bf7fe4485bd47a8b102 (diff)
downloadpkgsrc-c9c085d3a726dbf05f2e5d39545660bdd952c4f7.tar.gz
Use the FreeBSD rules for DragonFly as well.
Diffstat (limited to 'audio/mpg123')
-rw-r--r--audio/mpg123/distinfo4
-rw-r--r--audio/mpg123/patches/patch-aa53
2 files changed, 42 insertions, 15 deletions
diff --git a/audio/mpg123/distinfo b/audio/mpg123/distinfo
index 6f21323fd02..cb0bd2afd79 100644
--- a/audio/mpg123/distinfo
+++ b/audio/mpg123/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2005/10/03 15:17:14 joerg Exp $
+$NetBSD: distinfo,v 1.25 2005/10/03 15:25:14 joerg Exp $
SHA1 (mpg123/mpg123-0.59r.tar.gz) = c32fe242f4506d218bd19a51a4034da9fdc79493
RMD160 (mpg123/mpg123-0.59r.tar.gz) = 17d47ca04fdcac5e2d71f95ccbd23b61b5ed8b3c
@@ -6,7 +6,7 @@ Size (mpg123/mpg123-0.59r.tar.gz) = 159028 bytes
SHA1 (mpg123/mpg123-059r-v6-20000713b.diff.gz) = fab11489b6a1ab79d6c29787161f1c05e492dc0b
RMD160 (mpg123/mpg123-059r-v6-20000713b.diff.gz) = c1942566dcbaf9bd605a1544b5c390e27dc150ca
Size (mpg123/mpg123-059r-v6-20000713b.diff.gz) = 5600 bytes
-SHA1 (patch-aa) = fc07420b1fdbc44f73d5c898bd4441074c648822
+SHA1 (patch-aa) = e0d9808b64067f5cd1950433f532abdea6fcf642
SHA1 (patch-ab) = ffc387d93f0f2832e49796c80be26e908defa3a7
SHA1 (patch-ac) = 06a5037e27ddd4cc34e5348c09e702f9740173c5
SHA1 (patch-ad) = e9b2b874a95a67139c7d48e74492eb64dfa815f0
diff --git a/audio/mpg123/patches/patch-aa b/audio/mpg123/patches/patch-aa
index 4216a0db762..e75fc41d40e 100644
--- a/audio/mpg123/patches/patch-aa
+++ b/audio/mpg123/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
+$NetBSD: patch-aa,v 1.25 2005/10/03 15:25:14 joerg Exp $
---- Makefile.orig Mon Nov 25 22:42:10 2002
-+++ Makefile
+--- Makefile.orig 2005-10-03 17:03:06.000000000 +0200
++++ Makefile 2005-10-03 17:03:06.000000000 +0200
@@ -54,6 +54,23 @@
@echo "make aix-tk3play IBM AIX"
@echo "make os2 IBM OS/2"
@@ -26,6 +26,33 @@ $NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
@echo "make bsdos BSDI BSD/OS"
@echo "make bsdos4 BSDI BSD/OS 4.0"
@echo "make bsdos-nas BSDI BSD/OS with NAS support"
+@@ -300,7 +317,7 @@
+ #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'
+
+-freebsd:
++dragonfly freebsd:
+ $(MAKE) CC=cc LDFLAGS= \
+ OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
+ CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \
+@@ -309,7 +326,7 @@
+ -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \
+ mpg123-make
+
+-freebsd-esd:
++dragonfly-esd freebsd-esd:
+ $(MAKE) CC=cc LDFLAGS= \
+ AUDIO_LIB='-lesd -laudiofile' \
+ OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_esd.o' \
+@@ -321,7 +338,7 @@
+ $(CFLAGS)' \
+ mpg123-make
+
+-freebsd-frontend:
++dragonfly-frontend freebsd-frontend:
+ $(MAKE) CC=cc LDFLAGS= \
+ OBJECTS='decode_i386.o dct64_i386.o audio_oss.o \
+ control_sajber.o control_tk3play.o' \
@@ -398,7 +415,7 @@
solaris-gcc-nas:
@@ -122,8 +149,7 @@ $NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
+ audio_esd.o term.o' \
+ CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \
-- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \
++ -funroll-all-loops -ffast-math -DROT_I386 \
+ -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DUSE_MMAP \
+ -DREAD_MMAP -DNETBSD -DTERM_CONTROL \
+ `esd-config --cflags`' \
@@ -187,7 +213,8 @@ $NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
+ audio_nas.o term.o' \
+ CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \
-+ -funroll-all-loops -ffast-math -DROT_I386 \
+ -funroll-all-loops -ffast-math -DROT_I386 \
+- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DNETBSD' \
+ -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DUSE_MMAP \
+ -DREAD_MMAP -DNETBSD -DTERM_CONTROL \
+ -DNAS' \
@@ -226,12 +253,10 @@ $NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
mpg123-make
bsdos:
-@@ -554,6 +737,16 @@
- generic:
- $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_dummy.o' \
+@@ -556,6 +739,16 @@
CFLAGS='$(CFLAGS) -O -DGENERIC -DNOXFERMEM' \
-+ mpg123-make
-+
+ mpg123-make
+
+darwin-esd:
+ $(MAKE) CC=cc LDFLAGS= \
+ AUDIO_LIB="`esd-config --libs`" \
@@ -240,6 +265,8 @@ $NetBSD: patch-aa,v 1.24 2004/03/17 04:49:48 danw Exp $
+ -funroll-all-loops -ffast-math -DREAD_MMAP \
+ -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL \
+ `esd-config --cflags`' \
- mpg123-make
-
++ mpg123-make
++
+ ###########################################################################
+ ###########################################################################
###########################################################################