From e5455b2aa24beda43e2b911d7e7b4beafc5e5509 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 8 Jan 2001 14:35:13 +0000 Subject: Don't depend on ncurses, USE_CURSES. --- audio/aumix/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'audio') diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile index ce9f4e67f10..b94865e299e 100644 --- a/audio/aumix/Makefile +++ b/audio/aumix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/12/31 02:56:58 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2001/01/08 14:35:13 wiz Exp $ DISTNAME= aumix-2.7 CATEGORIES= audio @@ -13,14 +13,20 @@ HOMEPAGE= http://jpj.net/~trevor/aumix.html BUILD_DEPENDS+= msgfmt:../../devel/gettext DEPENDS+= gtk+-1.2.*:../../x11/gtk -DEPENDS+= ncurses>=4.2:../../devel/ncurses +USE_CURSES= yes +REPLACE_NCURSES= ${WRKSRC}/configure ${WRKSRC}/src/curses.h \ + ${WRKSRC}/src/gpm-xterm.h USE_LIBINTL= yes -CFLAGS+= -I${WRKSRC}/src -I${LOCALBASE}/include - GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-own-labels .include "../../mk/bsd.pkg.mk" + +.if ${NEED_NCURSES} == "YES" +CFLAGS+= -I${WRKSRC}/src -I${LOCALBASE}/include +.endif + +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3