diff options
author | agc <agc@pkgsrc.org> | 2000-01-01 05:03:59 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-01-01 05:03:59 +0000 |
commit | 2bf03aa16bd22e671d495379bd9a4e21a81e918a (patch) | |
tree | 979c7ca9234b4d958cd462be7b3574c530dd9df2 /editors/vile/Makefile | |
parent | 869e3d3fe1502530827a6919ae67c7c9b671f8ab (diff) | |
download | pkgsrc-2bf03aa16bd22e671d495379bd9a4e21a81e918a.tar.gz |
Only use an ncurses dependency if the Operating System is NetBSD.
Diffstat (limited to 'editors/vile/Makefile')
-rw-r--r-- | editors/vile/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile index d4a0a6be0d6..f07d0d4b7cf 100644 --- a/editors/vile/Makefile +++ b/editors/vile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 1999/12/26 17:57:50 tron Exp $ +# $NetBSD: Makefile,v 1.17 2000/01/01 05:03:59 agc Exp $ # FreeBSD Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp DISTNAME= vile-9.0 @@ -10,18 +10,22 @@ EXTRACT_SUFX= .tgz MAINTAINER= packages@netbsd.org -DEPENDS+= ncurses-4.2:../../devel/ncurses - MAKEFILE= makefile GNU_CONFIGURE= yes -CFLAGS+= -DHAVE_NCURSES_H CONFIGURE_ARGS+= --with-perl \ - --with-libdir-path=${PREFIX}/libexec \ - --with-screen=ncurses + --with-libdir-path=${PREFIX}/libexec USE_PERL5= yes INSTALL_TARGET= install install-perl +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +DEPENDS+= ncurses-4.2:../../devel/ncurses +CFLAGS+= -DHAVE_NCURSES_H +CONFIGURE_ARGS+= --with-screen=ncurses +.endif + post-install: -@${MKDIR} -p ${PREFIX}/share/examples/vile @for f in filters/spell.rc filters/filters.rc \ |