diff options
author | agc <agc> | 2000-01-01 05:03:59 +0000 |
---|---|---|
committer | agc <agc> | 2000-01-01 05:03:59 +0000 |
commit | 21b48333c942830f78cff18982363a2cb8ddc481 (patch) | |
tree | 979c7ca9234b4d958cd462be7b3574c530dd9df2 /editors | |
parent | a30967d022c06a1408caef4bbd9df942f994e422 (diff) | |
download | pkgsrc-21b48333c942830f78cff18982363a2cb8ddc481.tar.gz |
Only use an ncurses dependency if the Operating System is NetBSD.
Diffstat (limited to 'editors')
-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 \ |