summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-08 14:35:13 +0000
committerwiz <wiz@pkgsrc.org>2001-01-08 14:35:13 +0000
commitbb5867ae67ad36ac1df9e12ad0fd37f384c7b490 (patch)
treee4f47e4371e89347bbab92f2f5b735134de60a6f /audio
parent5935e63eb282ae384517fed361842c2b6d2ade34 (diff)
downloadpkgsrc-bb5867ae67ad36ac1df9e12ad0fd37f384c7b490.tar.gz
Don't depend on ncurses, USE_CURSES.
Diffstat (limited to 'audio')
-rw-r--r--audio/aumix/Makefile14
1 files changed, 10 insertions, 4 deletions
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"