summaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-08 14:35:13 +0000
committerwiz <wiz>2001-01-08 14:35:13 +0000
commite5455b2aa24beda43e2b911d7e7b4beafc5e5509 (patch)
treee4f47e4371e89347bbab92f2f5b735134de60a6f /audio/aumix
parent9b4d1e1a812e37f5e4cc5cd1d1753c371c9b94af (diff)
downloadpkgsrc-e5455b2aa24beda43e2b911d7e7b4beafc5e5509.tar.gz
Don't depend on ncurses, USE_CURSES.
Diffstat (limited to 'audio/aumix')
-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"