summaryrefslogtreecommitdiff
path: root/audio/cmp3
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-02-24 22:36:48 +0000
committerwiz <wiz@pkgsrc.org>2002-02-24 22:36:48 +0000
commit13632a2b387da27338544c7d45efabe627908651 (patch)
tree1995b732f06157a3cdbbee4bf8917bf82a49404a /audio/cmp3
parent3b0ed9803cf3a2dcae49a6361c4229a1b3332ce3 (diff)
downloadpkgsrc-13632a2b387da27338544c7d45efabe627908651.tar.gz
Buildlinkify.
Diffstat (limited to 'audio/cmp3')
-rw-r--r--audio/cmp3/Makefile9
-rw-r--r--audio/cmp3/distinfo6
-rw-r--r--audio/cmp3/patches/patch-aa6
-rw-r--r--audio/cmp3/patches/patch-ab16
4 files changed, 21 insertions, 16 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index cd25bf8cd3f..825eb7757b7 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/09/30 09:24:27 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2002/02/24 22:36:48 wiz Exp $
#
DISTNAME= cmp3-2.0pre5
@@ -14,8 +14,10 @@ DEPENDS+= mpg123-[0-9]*:../../audio/mpg123
WRKSRC= ${WRKDIR}/cmp3
-USE_GMAKE= yes
-NEED_NCURSES= YES
+USE_GMAKE= YES
+# missing: newpad, prefresh, pnoutrefresh, wredrawln, redrawwin
+USE_NCURSES= YES
+USE_BUILDLINK_ONLY= YES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${PREFIX}/bin
@@ -24,4 +26,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cmp3
${INSTALL_DATA} ${WRKSRC}/cmp3rc ${PREFIX}/share/doc/cmp3/sample.cmp3rc
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/cmp3/distinfo b/audio/cmp3/distinfo
index 81d3cb7d227..20dfb6c5935 100644
--- a/audio/cmp3/distinfo
+++ b/audio/cmp3/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 13:04:19 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/02/24 22:36:48 wiz Exp $
SHA1 (cmp3-2.0pre5.tar.gz) = 9f8953fb34fdff8bafe198e1cd860d772e69cb7d
Size (cmp3-2.0pre5.tar.gz) = 40207 bytes
-SHA1 (patch-aa) = e0bd98ecf8332608f98433b0b4ee541fc3a61d19
-SHA1 (patch-ab) = a2acdb49e97578c5ef3e7daa38b7eee378260879
+SHA1 (patch-aa) = 9bfd95a35696361effbfde89d55bcc9c47aaa260
+SHA1 (patch-ab) = dbe2565fe5388528b6a3b32af5cf50da8512bd51
SHA1 (patch-ac) = f242ccaeed2b194938fad2978c24dc8619dcfaf4
SHA1 (patch-ad) = a50d87140e557eb3bef1a5d68ad3e18bba73e03e
diff --git a/audio/cmp3/patches/patch-aa b/audio/cmp3/patches/patch-aa
index e0719420347..504dd0cc5b8 100644
--- a/audio/cmp3/patches/patch-aa
+++ b/audio/cmp3/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/02/10 14:18:35 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2002/02/24 22:36:49 wiz Exp $
--- Makefile.orig Fri Mar 17 09:35:33 2000
+++ Makefile Fri Feb 9 23:21:25 2001
@@ -38,8 +38,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/10 14:18:35 hubertf Exp $
-LIBS= -lform -lncurses
-CFLAGS= -g -O -Inevlib
-CC= gcc
-+LIBS= -lform -lncurses -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib
-+CFLAGS+= -Inevlib -I$(LOCALBASE)/include
++LIBS= ${LDFLAGS} -lform -lncurses
++CFLAGS+= -Inevlib
+CC?= gcc
OBJS= cmp3common.o cmp3fileio.o cmp3manager.o cmp3curses.o \
cmp3llist.o cmp3main.o cmp3listfiles.o cmp3playlist.o cmp3volume.o \
diff --git a/audio/cmp3/patches/patch-ab b/audio/cmp3/patches/patch-ab
index 2c40b12ffad..2a99878e169 100644
--- a/audio/cmp3/patches/patch-ab
+++ b/audio/cmp3/patches/patch-ab
@@ -1,18 +1,20 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/02/10 14:18:35 hubertf Exp $
+$NetBSD: patch-ab,v 1.2 2002/02/24 22:36:49 wiz Exp $
---- cmp3.h.orig Fri Mar 17 09:14:10 2000
-+++ cmp3.h Fri Feb 9 23:26:16 2001
-@@ -1,7 +1,12 @@
+--- cmp3.h.orig Fri Mar 17 02:14:10 2000
++++ cmp3.h
+@@ -1,10 +1,11 @@
#ifndef _CMP3_H
#define _CMP3_H
-#include<curses.h>
+-
+-#ifndef NCURSES_VERSION
+- #error "This program requires ncurses to function"
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <ncurses.h>
+#include <termios.h>
+#else
+#include <curses.h>
-+#endif
+ #endif
- #ifndef NCURSES_VERSION
- #error "This program requires ncurses to function"
+ #include <signal.h>