pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mpg123 Use the FreeBSD rules for DragonFly as well.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbb74891778c
branches:  trunk
changeset: 500177:bbb74891778c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 03 15:25:14 2005 +0000

description:
Use the FreeBSD rules for DragonFly as well.

diffstat:

 audio/mpg123/distinfo         |   4 +-
 audio/mpg123/patches/patch-aa |  53 ++++++++++++++++++++++++++++++++----------
 2 files changed, 42 insertions(+), 15 deletions(-)

diffs (113 lines):

diff -r f704abaaf0db -r bbb74891778c audio/mpg123/distinfo
--- a/audio/mpg123/distinfo     Mon Oct 03 15:24:14 2005 +0000
+++ b/audio/mpg123/distinfo     Mon Oct 03 15:25:14 2005 +0000
@@ -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 @@
 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 -r f704abaaf0db -r bbb74891778c audio/mpg123/patches/patch-aa
--- a/audio/mpg123/patches/patch-aa     Mon Oct 03 15:24:14 2005 +0000
+++ b/audio/mpg123/patches/patch-aa     Mon Oct 03 15:25:14 2005 +0000
@@ -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 @@
        @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 @@
 +              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 @@
 +              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 @@
                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 @@
 +                      -funroll-all-loops -ffast-math -DREAD_MMAP \
 +                      -DREAL_IS_FLOAT -DUSE_MMAP -DTERM_CONTROL \
 +                      `esd-config --cflags`' \
-               mpg123-make
- 
++              mpg123-make
++
  ###########################################################################
+ ###########################################################################
+ ###########################################################################



Home | Main Index | Thread Index | Old Index