summaryrefslogtreecommitdiff
path: root/audio/gramofile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-11 16:49:32 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-11 16:49:32 +0000
commit791ec070856a202987a74cde765895b74dd79f5e (patch)
treef7c81a3d0fa657dc9a3216577e5107326cd5a9a1 /audio/gramofile
parentdfe43ba713201a301813a2160a1a90adc8f6b714 (diff)
downloadpkgsrc-791ec070856a202987a74cde765895b74dd79f5e.tar.gz
DragonFly support.
Diffstat (limited to 'audio/gramofile')
-rw-r--r--audio/gramofile/distinfo6
-rw-r--r--audio/gramofile/patches/patch-aa10
-rw-r--r--audio/gramofile/patches/patch-ab13
3 files changed, 17 insertions, 12 deletions
diff --git a/audio/gramofile/distinfo b/audio/gramofile/distinfo
index 7bbe1f7f83e..7f43621248e 100644
--- a/audio/gramofile/distinfo
+++ b/audio/gramofile/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:46 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/11/11 16:49:32 joerg Exp $
SHA1 (gramofile-1.6.tar.gz) = 6e5365d9e04801725be694fefcff5fc10ea2f912
RMD160 (gramofile-1.6.tar.gz) = 3f7c8a8e8053e92ece830bbb1138fc7ed1c49967
Size (gramofile-1.6.tar.gz) = 108596 bytes
-SHA1 (patch-aa) = 0e3912dc5c5470f5ca9cb5916467af7ffa8b52fb
-SHA1 (patch-ab) = cdb6ed27cb4e4f6fc91a34a12369caa2a52e94d9
+SHA1 (patch-aa) = 020f858ca852b1ffaaecf3dba44b734c5bc2fbb2
+SHA1 (patch-ab) = 504cdb14c7ab11179e6cddfc32179a7a3528a67a
SHA1 (patch-ac) = 38094ec6a4e1e90e3d03eef5ce3f6fdb8d0621bb
diff --git a/audio/gramofile/patches/patch-aa b/audio/gramofile/patches/patch-aa
index 7adf7662588..78160e86dd2 100644
--- a/audio/gramofile/patches/patch-aa
+++ b/audio/gramofile/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2004/07/08 18:33:07 agc Exp $
+$NetBSD: patch-aa,v 1.3 2005/11/11 16:49:32 joerg Exp $
---- Makefile 2004/07/02 20:20:40 1.1
-+++ Makefile 2004/07/02 20:24:26
-@@ -18,23 +18,29 @@
+--- Makefile.orig 2000-03-28 20:23:58.000000000 +0000
++++ Makefile
+@@ -18,23 +18,29 @@ LDFLAGS =
########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see bplaysrc/Makefile!)
@@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.2 2004/07/08 18:33:07 agc Exp $
COPY_A = -a
-
+else
-+ifeq ($(OS), NetBSD)
++ifeq (,$(filter-out NetBSD DragonFly,$(OS)))
# For FreeBSD (and maybe others), use these:
-#CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER
-#DEPS = $(OBJS) makebplay
diff --git a/audio/gramofile/patches/patch-ab b/audio/gramofile/patches/patch-ab
index f4b66d509c5..aa2bfe80080 100644
--- a/audio/gramofile/patches/patch-ab
+++ b/audio/gramofile/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2004/07/08 18:33:07 agc Exp $
+$NetBSD: patch-ab,v 1.2 2005/11/11 16:49:32 joerg Exp $
---- bplaysrc/Makefile 2004/07/08 15:10:58 1.1
-+++ bplaysrc/Makefile 2004/07/08 15:12:18
-@@ -6,18 +6,24 @@
+--- bplaysrc/Makefile.orig 2000-03-27 21:24:46.000000000 +0000
++++ bplaysrc/Makefile
+@@ -6,18 +6,29 @@ OBJS = bplay.o sndfunc.o shmbuf.o ../yes
../clrscr.o ../secshms.o
#SRCS = bplay.c sndfunc.o shmbuf.c
@@ -21,6 +21,10 @@ $NetBSD: patch-ab,v 1.1 2004/07/08 18:33:07 agc Exp $
LIBS = -lncurses
-
+else
++ifeq (${OS}, DragonFly)
++CFLAGS = -Wall -O2 -DLP2CD -DVUMETER
++LIBS = -lcurses ${LIBOSSAUDIO}
++else
+ifeq (${OS}, NetBSD)
# For FreeBSD (and maybe others), use these:
-#CFLAGS = -Wall -O2 -DLP2CD -DVUMETER # -DDEBUG
@@ -29,6 +33,7 @@ $NetBSD: patch-ab,v 1.1 2004/07/08 18:33:07 agc Exp $
+LIBS = -lcurses ${LIBOSSAUDIO}
+endif
+endif
++endif
# -DOLD_CURSES can be used here, too.