summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-08 16:09:09 +0000
committerwiz <wiz>2001-01-08 16:09:09 +0000
commit02003751044e3ce046792ec12a26942c15f0b45e (patch)
tree2c01cfe199b0fb6b6b48d17734aa9501d8e1ea3c
parentd4331b163c57a357590601ad6f5ad310a47f8d67 (diff)
downloadpkgsrc-02003751044e3ce046792ec12a26942c15f0b45e.tar.gz
USE_CURSES, not DEPENDS on ncurses.
-rw-r--r--editors/bvi/Makefile11
-rw-r--r--misc/gnome-utils/Makefile13
2 files changed, 14 insertions, 10 deletions
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 1557e0eee57..b68c68455dd 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/04/23 21:35:55 mbw Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/08 16:09:09 wiz Exp $
#
DISTNAME= bvi-1.2.0.src
@@ -10,16 +10,17 @@ MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://bvi.linuxave.net/
GNU_CONFIGURE= YES
-CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
- CPPFLAGS="-I${LOCALBASE}/include"
+USE_CURSES= YES
+REPLACE_NCURSES= ${WRKSRC}/configure
MAKE_ENV+= SHELL=${SH}
WRKSRC= ${WRKDIR}/${PKGNAME}
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
+.if ${NEED_NCURSES} == "YES"
+CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
+ CPPFLAGS="-I${LOCALBASE}/include"
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gnome-utils/Makefile b/misc/gnome-utils/Makefile
index f4eb6c05784..e284c1c2631 100644
--- a/misc/gnome-utils/Makefile
+++ b/misc/gnome-utils/Makefile
@@ -1,4 +1,4 @@
-## $NetBSD: Makefile,v 1.24 2000/11/17 20:15:26 tron Exp $
+## $NetBSD: Makefile,v 1.25 2001/01/08 16:12:59 wiz Exp $
DISTNAME= gnome-utils-1.2.0
CATEGORIES= misc x11 gnome
@@ -10,18 +10,16 @@ HOMEPAGE= http://www.gnome.org/
BUILD_DEPENDS+= autoreconf:../../devel/autoconf
BUILD_DEPENDS+= automake:../../devel/automake
BUILD_DEPENDS+= bison:../../devel/bison
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
DEPENDS+= gnome-core>=1.2.0:../../x11/gnome-core
DEPENDS+= libgtop>=1.0.9:../../devel/libgtop
DEPENDS+= libglade>=0.13:../../devel/libglade
+USE_CURSES= # defined
USE_GMAKE= # defined
USE_X11BASE= # defined
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
-CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
- LOCALEBASE=${LOCALEBASE}
+CONFIGURE_ENV+= LOCALEBASE=${LOCALEBASE}
PLIST_SUBST+= LOCALEBASE=${LOCALEBASE}
@@ -43,4 +41,9 @@ LOCALEBASE= lib
LOCALEBASE= share
.endif
+.if ${NEED_NCURSES} == "YES"
+CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
+CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
+.endif
+
.include "../../mk/bsd.pkg.mk"