From e6c49387a52964adbc2c0f6daddf1aee4ce889fd Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 7 Jan 2001 02:47:02 +0000 Subject: USE_CURSES instead of hardwired curses dependency. Fix command line parsing (patch by Charles Hannum). --- audio/mikmod/Makefile | 5 +++-- audio/mikmod/files/patch-sum | 7 ++----- audio/mikmod/patches/patch-aa | 13 +++++++++++++ 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 audio/mikmod/patches/patch-aa (limited to 'audio') diff --git a/audio/mikmod/Makefile b/audio/mikmod/Makefile index 68c558f2a13..4db62e76a1d 100644 --- a/audio/mikmod/Makefile +++ b/audio/mikmod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2000/04/03 14:52:11 pooka Exp $ +# $NetBSD: Makefile,v 1.22 2001/01/07 02:47:02 wiz Exp $ # DISTNAME= mikmod-3.1.6-a @@ -9,11 +9,12 @@ MASTER_SITES= http://mikmod.darkorb.net/mikmod/ MAINTAINER= mycroft@NetBSD.ORG HOMEPAGE= http://mikmod.darkorb.net/ -DEPENDS+= ncurses>=4.2:../../devel/ncurses DEPENDS+= libmikmod>=3.1.9:../../audio/libmikmod USE_GMAKE= yes GNU_CONFIGURE= yes +USE_CURSES= yes +REPLACE_NCURSES= ${WRKSRC}/configure CPPFLAGS+= -I${LOCALBASE}/include diff --git a/audio/mikmod/files/patch-sum b/audio/mikmod/files/patch-sum index 456617bcb69..2fb2bdad69e 100644 --- a/audio/mikmod/files/patch-sum +++ b/audio/mikmod/files/patch-sum @@ -1,6 +1,3 @@ -$NetBSD: patch-sum,v 1.2 2000/04/02 16:32:35 pooka Exp $ +$NetBSD: patch-sum,v 1.3 2001/01/07 02:47:03 wiz Exp $ -This placeholder file is generated by the ``makepatchsum'' target -whenever the patches directory is empty or missing. Its purpose -is to ensure that the presence of any obsolete patches will cause -the proper error to be emitted at build time. +MD5 (patch-aa) = 6d6fe9ac1c759b6a2d6b41999c09faa6 diff --git a/audio/mikmod/patches/patch-aa b/audio/mikmod/patches/patch-aa new file mode 100644 index 00000000000..91fc9110071 --- /dev/null +++ b/audio/mikmod/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2001/01/07 02:47:03 wiz Exp $ + +--- src/mikmod.c.orig Mon Aug 2 05:59:23 1999 ++++ src/mikmod.c +@@ -557,7 +557,7 @@ + /* Parse commandline */ + opterr=0; + while ((t=getopt_long_only(argc,argv, +- "d:o:f:r:v:p:i:F:l:a:x:c:t:s:S:qnVh",options,NULL)) ++ "d:o:f:r:v:p:i:F:l:a:x:c:t:s:S:qnVh",options,NULL) != -1) + #if defined(__OS2__)||defined(__EMX__) + >=0 + #else -- cgit v1.2.3