USE_CURSES instead of hardcoded dependency on ncurses.

Improve wildcard for guile dependency.
This commit is contained in:
wiz 2001-01-07 04:26:31 +00:00
parent 5f6d0c5630
commit 90d081fdb4

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2000/08/23 23:14:30 tron Exp $
# $NetBSD: Makefile,v 1.18 2001/01/07 04:26:31 wiz Exp $
DISTNAME= siag-3.1.20
CATEGORIES= misc textproc math
@ -9,10 +9,12 @@ HOMEPAGE= http://www.edu.stockholm.se/siag/
DEPENDS+= gv-3.5.8:../../print/gv
DEPENDS+= gnuplot-3.7:../../graphics/gnuplot
DEPENDS+= guile-1.3.*:../../lang/guile
DEPENDS+= guile>=1.3:../../lang/guile
CONFIGURE_ARGS= --with-x --with-guile --includedir=${PREFIX}/include
GNU_CONFIGURE= YES
USE_CURSES= YES
REPLACE_NCURSES= ${WRKSRC}/tsiag/window.c ${WRKSRC}/configure
USE_GMAKE= YES
USE_X11= YES
USE_XAW= YES
@ -24,10 +26,6 @@ STRIPFLAG=
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
DEPENDS+= ncurses>=4.2:../../devel/ncurses
.endif
XAW_TYPE?= 3d
.include "../../mk/bsd.pkg.mk"